On 07/08/2013 at 19:47, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Mac OSX ;
Language(s) : C++ ;
---------
doc->Polygonize() makes a clone, according to the SDK. If I follow this with a CallCommand(12107) and CallCommand(12108) which is Copy and Paste, which is affected? The original doc or the "clone"?
In my SceneSaver plugin (for which I used the .stl exporter from the SDK as starter) I had originally worked with a Polygonized doc. It seems when I couldn't find another way to Copy/Paste a polygon object and used CallCommand's it didn't work - as CallCommand seems to affect the doc and not the clone. Since my exporter tests the objects intended for export it knows that they are polygons - so I took out Polygonize. Now my exporter works all the way through (creates the output file and the correct output in the console) but still crashes C4D.
Does a SceneSaver require polygonization for some reason?
Thanks
Peter