THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/03/2003 at 10:21, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Language(s) : C.O.F.F.E.E ;
I am working on a new deformer that takes inputs as baselinks. I have been trying to figure out how to update the deformer when the source objects are altered. It seems this little message might have something to do with that. First, how do I know if one of the source objects changed ( in v7 I only used children, but this seems like it should allow the obejcts to come from anywhere in the scene correct? ). Second, do I set the deformer to dirty_data if the source objects have changed?
On 05/03/2003 at 00:20, xxxxxxxx wrote:
First of all, is this really C.O.F.F.E.E.? Sounds more like C++ to me if you have BaseLinks.
Second, yes you should listen for MSG_MODIFIER_CHECK. When you get this message you should evaluate your links and see if GetDirty() checksum has changed. (You can store the old values as a member in your object class.) If the dirty checksum has changed you should call node->SetDirty(DIRTY_DATA). This is how the spline deformer does it.