THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/11/2008 at 14:36, xxxxxxxx wrote:
Cinema 4D Version: 9.603
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
I am exporting the document using a Hierarchy derivative and I am encountering an intermittent crash in hair.cdl in my Hierarchy::Do method. What happens is this: after the passed object has been checked and confirmed to be a non-null Opolygon, I place it in a temporary document and then call SendModelingCommand with MCOMMAND_TRIANGULATE. Upon making this call there is sometimes a crash with a _BugReport.txt trace that ends in hair.cdl. At that point, maybe the Hierarchy has gotten through 10 objects, and maybe it has gotten through 500 - there is no pattern that I can see yet. I have tried using any number of different options in the hair object's Generate tab (I need polygons) but it doesn't seem to make any difference (well, I haven't seen a problem when Single Object is enabled). I am even checking that the PolygonObject::GetPoint() and GetPointCount() are non-null/zero before I try to triangulate, just in case that could cause an issue.
I am looking through as much of the documentation as I can and I don't see any special concerns noted for this scenario. This is happening in the context of a blocking thread, so there shouldn't be any issues there. I have not yet sent in any of the bug reports, since I am not sure if there is something I should/shouldn't be doing to cause this. Any input would be appreciated.