]> git.tdb.fi Git - libs/gl.git/commit
Redesign file writing in the Blender exporter
authorMikko Rasa <tdb@tdb.fi>
Wed, 15 May 2019 21:42:03 +0000 (00:42 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 16 May 2019 19:34:54 +0000 (22:34 +0300)
commit6ee541fd39de1e1368134cb8a98a14f2f5ddd767
tree2d442af8cf51f9cfcef510395148fa59e72f90f6
parent04c89988c7eda12ea763a9283df0aeba177a11ad
Redesign file writing in the Blender exporter

Instead of writing statements directly to the file as string fragments,
construct an in-memory representation of the exported data first.  This
allows it to be manipulated and combined easier.
blender/io_mspgl/__init__.py
blender/io_mspgl/datafile.py [new file with mode: 0644]
blender/io_mspgl/export_armature.py
blender/io_mspgl/export_mesh.py
blender/io_mspgl/export_object.py
blender/io_mspgl/export_scene.py
blender/io_mspgl/outfile.py [deleted file]