Skip to content

Commit 5444455

Browse files
ffissorecmaglie
authored andcommitted
removed check on .h file existence
1 parent fa95662 commit 5444455

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/src/processing/app/Base.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,11 +2424,6 @@ public void handleAddLibrary(Editor editor) {
24242424
editor.statusError(mess);
24252425
return;
24262426
}
2427-
String[] headerFiles = headerListFromIncludePath(libFolder);
2428-
if (headerFiles == null || headerFiles.length == 0) {
2429-
editor.statusError(_("Not a valid library: no header files found"));
2430-
return;
2431-
}
24322427

24332428
// copy folder
24342429
File destinationFolder = new File(getSketchbookLibrariesFolder(), sourceFile.getName());

0 commit comments

Comments
 (0)