mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
massive changes for revision 78
This commit is contained in:
@@ -45,7 +45,7 @@ import com.ice.jni.registry.*;
|
||||
* files and images, etc) that comes from that.
|
||||
*/
|
||||
public class PdeBase {
|
||||
static final String VERSION = "0077 Alpha";
|
||||
static final String VERSION = "0078 Alpha";
|
||||
|
||||
static String openedAtStartup;
|
||||
|
||||
|
||||
@@ -1278,6 +1278,20 @@ public class PdeSketch {
|
||||
|
||||
importedLibraries.add(libFolder);
|
||||
libraryPath += File.pathSeparator + libFolder.getAbsolutePath();
|
||||
|
||||
/*
|
||||
String list[] = libFolder.list();
|
||||
if (list != null) {
|
||||
for (int j = 0; j < list.length; j++) {
|
||||
// this might have a dll/jnilib/so packed,
|
||||
// so add it to the library path
|
||||
if (list[j].toLowerCase().endsWith(".jar")) {
|
||||
libraryPath += File.pathSeparator +
|
||||
libFolder.getAbsolutePath() + File.separator + list[j];
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -279,7 +279,7 @@ public class PdeSketchbook {
|
||||
fd.setFilenameFilter(new FilenameFilter() {
|
||||
public boolean accept(File dir, String name) {
|
||||
//System.out.println("check filter on " + dir + " " + name);
|
||||
return name.endsWith(".pde");
|
||||
return name.toLowerCase().endsWith(".pde");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user