mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
work on mode switching, add an ugly android theme
This commit is contained in:
@@ -380,15 +380,15 @@ public class JavaBuild {
|
||||
// grab the imports from the code just preproc'd
|
||||
|
||||
importedLibraries = new ArrayList<Library>();
|
||||
System.out.println("extra imports: " + result.extraImports);
|
||||
// System.out.println("extra imports: " + result.extraImports);
|
||||
for (String item : result.extraImports) {
|
||||
// remove things up to the last dot
|
||||
int dot = item.lastIndexOf('.');
|
||||
// http://dev.processing.org/bugs/show_bug.cgi?id=1145
|
||||
String entry = (dot == -1) ? item : item.substring(0, dot);
|
||||
System.out.println("library searching for " + entry);
|
||||
// System.out.println("library searching for " + entry);
|
||||
Library library = mode.getLibrary(entry);
|
||||
System.out.println(" found " + library);
|
||||
// System.out.println(" found " + library);
|
||||
|
||||
if (library != null) {
|
||||
if (!importedLibraries.contains(library)) {
|
||||
|
||||
Reference in New Issue
Block a user