THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/07/2007 at 02:36, xxxxxxxx wrote:
Cinema 4D Version: 8.5 - 10
Platform: Windows ;
Language(s) : C++ ;
i'm working on an object plugin using OBJECT_GENERATOR|OBJECT_INPUT and i need to check if the input object is a spline.
All is fine until a vectorizer object is used (cinema crashes), there is no need of using it so i want to keep it out.
But the object type of vectorizer seems not to be listed in the SDK, what type is it?
Do i run into problems using the hardcoded object type (5189) the console does return?
if (!obj || obj->IsInstanceOf(5189)) return NULL;
if (obj->GetInfo() & OBJECT_SPLINE) //# >9.1 OBJECT_ISSPLINE
On 24/07/2007 at 05:40, xxxxxxxx wrote:
you can always check the resource folders: Osplinecontour
does it also crash with a texture assigned?
On 24/07/2007 at 05:49, xxxxxxxx wrote:
Osplinecontour is the ID for the Vectorizer object.
On 24/07/2007 at 09:08, xxxxxxxx wrote:
i guess i have read Osplinecontour a dozen times and couldn't bring it in connection with vectorizer ...
and thanks again for asking if it crashes with texture, for now i'm checking if any points are existing and it works.