|
Author |
Topic: Delete empty sketchfunction deletes wrongly (Read 661 times) |
|
scafativ
|
Delete empty sketchfunction deletes wrongly
« on: Sep 6th, 2003, 9:10pm » |
|
It seems as though P5 deletes from the sketch directory any "empty" project. That is smart. However, it doesn't seem to check that the data directory is empty before doing so. I'm just starting work on a sketch that will require quite a few data files, and I had created the project and put a number of files in the data directory, but hadn't started writing any code yet. When I restarted P5, my sketch (and data) were gone.
|
|
|
|
fry
|
Re: Delete empty sketchfunction deletes wrongly
« Reply #1 on: Sep 7th, 2003, 11:40am » |
|
yup, sorry about that. i've had this on the todo list to fix but i'm sorry you got bit by it as well
|
|
|
|
fry
|
Re: Delete empty sketchfunction deletes wrongly
« Reply #2 on: Sep 21st, 2003, 6:10pm » |
|
fixed for rev 0060. it now calculates the size of the contents of the folder, to make sure that other useful files weren't added. this behavior can also be disabled by adding the following line to lib/pde.properties: sketchbook.auto_clean = false
|
|
|
|
|