AddDependence question



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

    On 06/09/2005 at 10:46, xxxxxxxx wrote:

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

    ---------
    Hi,

    my virtual object works on a mix of splines and one polygon object. With c4d v8.5 this works well using

    op->GetAndCheckHierarchyClone(hh, op->GetDown(), HCLONE_ASSPLINE|HCLONE_ASPOLY, &dirty;, NULL, TRUE);
    

    Since v9, the spline clones are no longer Osplines but Olines (???), so I had to fix that using HCLONE_ASSPLINE only. Now I'm searching for a solution that keeps track of the polygon object. Can I use AddDependence(...) without to open a new list using NewDependenceList()? By now it works, but I don't know that this is a clean way.


Log in to reply