On 08/08/2015 at 23:05, xxxxxxxx wrote:
Cinema 4D Version: 15+
Platform: Windows ;
Language(s) : C++ ;
I'm creating a SceneHookData plugin to track whatever happens in the document.
so far I need to do multiple stuff, but I'm not sure what is the best way to do it "as I know SceneHookData is very sensitive and needs to be efficient"
what I'm gonna track:
1- materials changes "message? does the message provide specific material change or all materials?"
2- object insertion/deletion "message? + I need to add a hidden tag to the created object"
3- cache changes "message? does the message point to a specific object cache change, or it is just a global message where I need to iterate over objects and get dirty?"
4- listening to specific messages from my GeUserArea inside my MaterialData? "I have 3 different messages"