diff --git a/processing/app/PdeEditor.java b/processing/app/PdeEditor.java index 8e1b81ee0..b55ea6598 100644 --- a/processing/app/PdeEditor.java +++ b/processing/app/PdeEditor.java @@ -510,6 +510,7 @@ public class PdeEditor extends JFrame handleExport(); } }); + menu.add(item); menu.addSeparator(); diff --git a/processing/app/PdeSketchbook.java b/processing/app/PdeSketchbook.java index 97f159ade..86b8ae307 100644 --- a/processing/app/PdeSketchbook.java +++ b/processing/app/PdeSketchbook.java @@ -332,6 +332,9 @@ public class PdeSketchbook { if (!folder.isDirectory()) return false; String list[] = folder.list(); + // if a bad folder or something like that, this might come back null + if (list == null) return false; + // alphabetize list, since it's not always alpha order // use cheapie bubble-style sort which should be fine // since not a tone of files, and things will mostly be sorted diff --git a/processing/todo.txt b/processing/todo.txt index 7358c2a58..8760ed7b8 100644 --- a/processing/todo.txt +++ b/processing/todo.txt @@ -198,8 +198,15 @@ X implement clone for BImage X api name changes for imaging functions X constant SUBSTRACT -> SUBTRACT +040707 afternoon +X minor bug with when setting sketchbook to a bad location +X add export back to the file menu + before next release +_ put export back into the file menu +_ change "add file" to import +_ change "new" to "new file" _ CENTER instead of CENTER_DIAMETER _ make CENTER default for ellipses _ move imageMode() to BImage