File tree 3 files changed +6
-4
lines changed 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1280,9 +1280,9 @@ public void handleNew() {
1280
1280
handleOpenUntitled (path );
1281
1281
1282
1282
} catch (IOException e ) {
1283
- Messages .showWarning ("That's new to me" ,
1284
- "A strange and unexplainable error occurred\n " +
1285
- "while trying to create a new sketch." , e );
1283
+ Messages .showTrace ("That's new to me" ,
1284
+ "A strange and unexplainable error occurred\n " +
1285
+ "while trying to create a new sketch." , e , false );
1286
1286
}
1287
1287
}
1288
1288
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ static public void copyDir(File sourceDir,
264
264
final String urDum = "source and target directories are identical" ;
265
265
throw new IllegalArgumentException (urDum );
266
266
}
267
- if (!targetDir .mkdirs ()) {
267
+ if (!targetDir .exists () && ! targetDir . mkdirs ()) {
268
268
throw new IOException ("Could not create " + targetDir );
269
269
}
270
270
String [] filenames = sourceDir .list ();
Original file line number Diff line number Diff line change 1
1
1286 (4.0.1)
2
+ X Changing into p5.js mode gives an error
3
+ X https://github.com/processing/processing4/issues/530
2
4
3
5
4
6
known issues
You can’t perform that action at this time.
0 commit comments