Hi, Can see you're creating temporary meshes meshes in exporter. They'll continue be available from list after export and every export. And on every export you'll have more and more meshes.
Probably it's not so big issue (not sure, maybe python exporters are doing the same stuff?) but think in C it might be done much more elegant. Looks like it's easy to switch createPolylist to use DerivedMesh instead of mesh (just matter of using getTessFaceArray, getNumTessFaces and gteTessFaceData callbacks). After this you might use function DM_from_mesh to export "bare" mesh or build DM using mesh_create_derived_view and pass it to createPolylist. Hope this helps you. Feel free to ask for help switching createPolylist to DM :) On Sun, May 6, 2012 at 6:47 AM, Gaia <gaia.cl...@machinimatrix.org> wrote: > Sorry, i forgot the link to pasteall: > > http://www.pasteall.org/31543 > > Gaia > > On 06.05.2012 02:43, Gaia wrote: > > Hi. > > I am about to add the "apply modifiers" option to the Collada exporter. > > Right now i have a first test version which always applies modifiers and > > that seems to work as expected (i have not yet tested it in depth) > > > > Before i start the secnd step and make the new option selectable from > > the export panel i'd like to get your feedback if what i made so far > > is reasonable or needs improvement. > > > > And thanks again for the great help i already got from the IRC :) > > > > Gaia > > _______________________________________________ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- With best regards, Sergey Sharybin _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers