THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2010 at 15:27, xxxxxxxx wrote:
Cinema 4D Version: r11
Language(s) : C++ ;
Hi, i have another question:
my plugin takes a user defined object to do different things. basically everything is working, but when the user defined object has a deformer applied (for example the formula deformer) it doesnt update properly.
this is how i take the object:
baseMesh = ToPoly((PolygonObject* )(bc->GetLink(BASEMESH,doc))); if (!baseMesh) goto Error; op->AddDependence(hh,baseMesh);
if i deactivate and activate my plugin object, the deformed object is passed correctly. just when playing the animation the plugin doesnt update correctly.
as a workaround i have placed a checkbox where the user can set that the pluginobject is recalculated every frame, but i think thats not really how it should be done??
thanks for your input.