move back to old core library grabber to get GL working again

This commit is contained in:
Ben Fry
2013-07-25 17:39:30 -04:00
parent ae7e689c40
commit 141458db5c
3 changed files with 11 additions and 8 deletions

View File

@@ -99,13 +99,14 @@ public class JavaMode extends Mode {
public Library getCoreLibrary() {
if (coreLibrary == null) {
// File coreFolder = Base.getContentFile("core");
// coreLibrary = new Library(coreFolder);
try {
coreLibrary = getLibrary("processing.core");
} catch (SketchException e) {
Base.log("Serious problem while locating processing.core", e);
}
File coreFolder = Base.getContentFile("core");
coreLibrary = new Library(coreFolder);
// try {
// coreLibrary = getLibrary("processing.core");
// System.out.println("core found at " + coreLibrary.getLibraryPath());
// } catch (SketchException e) {
// Base.log("Serious problem while locating processing.core", e);
// }
}
return coreLibrary;
}