zmoelnig@iem.at wrote:
Zitiere IOhannes m zm?lnig zmoelnig@users.sourceforge.net:
Update of /cvsroot/pd-gem/Gem/src/Base In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30297
Modified Files: GemCache.cpp GemCache.h Log Message: added a reset()-method to re-set an instance without having to destroy and re-create it (see [gemhead])
and then i changed the code a bit to enable [gemhead]s to be created on the fly and immediately start rendering (without having to restart it manually by sending [0,1( to the [gemwin])
anyhow, this (and the prior changes to the GemCache) created a bunch of other mis-behaviour but i finally got an idea what made Gem crashing when objects where modified (e.g: sending floats to [rotate]) while rendering was turned off: all the objects hold local copies of the pointer to the GemCache. AND they modify the GemCache with setModified().
so i added a magic-number to the GemCache to ensure that the pointer is still valid. (and accordingly changed all the involved objects)
so i hope this issue is really fixed for now. any tests ?
mfg.as.dra IOhannes