Skip to content

Commit 9b91332

Browse files
committed
make sure the unit test loading is working
1 parent d8fa9e2 commit 9b91332

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/neuronrobotics/bowlerstudio/scripting/cadoodle/CaDoodleFile.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,8 @@ public File save() throws IOException {
684684
}
685685

686686
private void setTimelineImage(List<CSG> currentState, int currentIndex2) throws IOException {
687+
if(selfInternal==null)
688+
return;
687689
File parent = selfInternal.getAbsoluteFile().getParentFile();
688690
File imageCache = new File(parent.getAbsolutePath() + delim() + "timeline" + delim() + currentIndex2 + ".png");
689691
File image = new File(parent.getAbsolutePath() + delim() + "snapshot.png");

0 commit comments

Comments
 (0)