On 23/05/2013 at 04:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Is there a way to get notified when a object(camera) is deleted or renamed?
Ralf
On 23/05/2013 at 04:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Is there a way to get notified when a object(camera) is deleted or renamed?
Ralf
On 23/05/2013 at 04:54, xxxxxxxx wrote:
from a coremessage method listen for EVMSG_CHANGE and then check the reference/pointer
on your object if its none, its gone if it is still a GeListNode you can check the name.
On 23/05/2013 at 06:03, xxxxxxxx wrote:
I have registered a MessageData-Plugin and get EVMSG_CHANGE in the coremessage function. I am storing a BaseObject * m_object somewhere in my plugin. How should I check my pointer m_object if it is none? I mean m_object doesn't get NULL'ed automatically when the user deletes my object.
The EVMGS_CHANGE doesn't give me information about which object has changed or deleted, right?
Can you help me?
On 23/05/2013 at 06:23, xxxxxxxx wrote:
Store a BaseLink to the object instead of a direct pointer. It will allow you to check if the object
does still exist or not.
-Nik