THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/10/2011 at 11:20, xxxxxxxx wrote:
Cinema 4D Version: 13
Language(s) : C++ ;
thie following code worked in R12.
SplineObject *res = (SplineObject* )GetDeformedObject(op, doc);
LineObject *line = res->GetLineObject(doc,0.02);
In R13 there occured Access Violation error in function GetLineObject
Do you have the same problem or know how to fix or workaround this ?
On 11/10/2011 at 02:21, xxxxxxxx wrote:
Is GetDeformedObject your own function? Make sure it returns a valid object, e.g. check for NULL.
On 17/10/2011 at 23:53, xxxxxxxx wrote:
Yes that was the case. I had changed the function "GetDeformedObject"months ago to proove that ists working on polygon objects properly. Fot forgot about to test it with the splines.
Shame on me.