notklaatu / stopgo

Stop-motion animation software. This is a publish-only repository mirroring Gitlab.
http://makerbox.org.nz/stopgo
Other
17 stars 5 forks source link

opening project not always in sync with database #10

Closed cyanidecupcake closed 8 years ago

cyanidecupcake commented 8 years ago

When opening projects in which frames were previously deleted error "Can't load image from file. File does not exist" displays.

notklaatu commented 8 years ago

This is a known issue, and in a way is related to my planned enhancement Issue 6. Both issues boil down to the sqlite database used as a project file.

Thinking about it, I'm not sure if the sqlite database really serves any purpose except while the application itself is open. Maybe we should just recreate a fresh DB each time we open a project. The real CPU burden is on scaling images for the timeline, which has nothing to do with the DB. The DB really just serves as place for sequence and as a kind of UNDO source. Once the user closes, the DB is basically redundant to the IMG DIR. Using the IMG DIR as the real source of a project gives us, magically, the ability to import any directory of images, granting us Issue 6.

Two birds → one stone

notklaatu commented 8 years ago

fixed in c8481d7