THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/09/2010 at 16:46, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R12
Platform: Windows ;
Language(s) : C++ ;
---------
After calling Polygonize() on a document, calling GetJoint() on CAWeightTag returns NULL.
However, GetJointCount() still returns a valid count.
If I don't call Polygonize(), then everything works as expected.
CAWeightTag* wt = (CAWeightTag* ) (ob->GetTag(Tweights));
LONG joint_count = wt->GetJointCount(); // valid count
for (LONG i=0; i < joint_count; i++) {
BaseObject *joint_ob = wt->GetJoint( i, doc ); // returns NULL!
}
Also, is Polygonize(TRUE) buggy? Because my scene doesn't animate after I call Polygonize(TRUE) on a document.
What specific animation properties are lost if I don't pass TRUE?