THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/04/2008 at 14:37, xxxxxxxx wrote:
Cinema 4D Version:
im writing a small tag Plugin, but im having a hard time in the init function.
at init i need to access the object that the tag is attached to, but i just cant seem to get it from the GeListNode that is passed in the init.
i tried to cast the node some object, but when i start the plugin cinema always crashes..
i tried like this, but its no good
Bool SplineMassTag::Init(GeListNode *node)
BaseTag *tag = (BaseTag* )node;
int pointCount = ((PointObject* )tag->GetObject())->GetPointCount() :
what's wrong with that ?