PDA

View Full Version : any way to get notified if user modify an object?


nathan7
01-19-2008, 06:34 AM
any way to get notified if user modify an object?

if i use callback function with
NOTIFY_POST_EDIT_OBJ_CHANGE
NOTIFY_PRE_EDIT_OBJ_CHANGE

but info->callParam doesn't give me any details, i can only get currently selected nodes, but how can i know what property has been changed to what value?

RustyKnight
01-19-2008, 09:00 PM
any way to get notified if user modify an object?

if i use callback function with
NOTIFY_POST_EDIT_OBJ_CHANGE
NOTIFY_PRE_EDIT_OBJ_CHANGE

but info->callParam doesn't give me any details, i can only get currently selected nodes, but how can i know what property has been changed to what value?I think this question was just asked recently. Basically, you want to know when a property on a object is changed??

Currently, there is no way to do this. The suggestion was to keep a copy of all the property values you are interested in and compare them when a change occurs.

Shane

CGTalk Moderation
01-19-2008, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.