THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/09/2008 at 12:12, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R9+
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Howdy,
How can you tell if a spline is being deformed? It seems that this line:
> \> if(spline->GetDeformCache()) \>
... always returns FALSE whether the spline is being deformed or not. I realize that the deform cache is always polygonal, as stated in the SDK documentation, so I understand why it's returning FALSE, but how do you know when a spline is being deformed?
The line:
> \> If(op->GetDeformCache()) \>
...can be used on a polygonal object to first check if the object is being deformed before sending the modeling command "MCOMMAND_CURRENTSTATETOOBJECT" and if it doesn't have a deform cache then it's not being deformed, so you can skip the modeling command call.
But for a spline, I don't see any function in the SDK documentation that will check if the spline is being deformed. :o(
Adios,
Cactus Dan