Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Joint Bug

    Scheduled Pinned Locked Moved Bugs
    1 Posts 0 Posters 431 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 29/09/2010 at 12:29, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R12 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Calling Polygonize() on a document destroys joints associated with object.

        
      CAWeightTag* wt = (CAWeightTag* ) (ob->GetTag(Tweights));
      LONG joint_count = wt->GetJointCount();   // valid count, even though joints are missing!  
      for (LONG i=0; i < joint_count; i++) {     
         BaseObject *joint_ob = wt->GetJoint( i, doc ); // returns NULL! bug?  
      }   
      

      If I don't call Polygonize(), then everything works as expected.

      Another bug, possibly related to above:
      After calling Polygonize() on a document, my scene does not animate after calling a new doc->SetTime().
      Calling Polygonize(TRUE) instead of Polygonize(FALSE) does not help.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post