On 07/03/2013 at 13:36, xxxxxxxx wrote:
Cinema 4D Version: 13
Platform: Windows ;
Language(s) : C++ ;
I'm planning on releasing a fairly major plugin soon. Complete with the C++ source code.
The plugin is fairly complex. And shows how to make a GeDialog work very tightly in tandem with a tag plugin to store things like UserData, images, etc...
But I have one big problem with it concerning the way C4D handles Undo.
The plugin creates and deletes things dynamically( Bitmap Buttons, images, etc..). And when I use the undo option in C4D. The undo system wipes out my dynamically created GUI items from the GeDialog plugin.
It doesn't just delete the last created GUI item.
No. It wacks them ALL!! :angry:
Is there some way to shield a GeDialog plugin from the entire Undo system in C4D?
*Edit- I changed the topic for this thread because I think the problem isn't really related to GeDialogs.
I think it has more to do with the Undo system deleting the hyperfile data in a tag plugin I'm using that tells the Gedialog what gizmos to display in it.