]> git.tdb.fi Git - libs/gl.git/commit
Refactor writing files in the Blender exporter
authorMikko Rasa <tdb@tdb.fi>
Fri, 26 Jun 2020 22:53:21 +0000 (01:53 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 27 Jun 2020 09:02:16 +0000 (12:02 +0300)
commit42ae18b7a9dc13a72bf421e564f02829d4bdd5be
tree9a5f74e305285dc1929e3e3b42befceb191d70c1
parentb4b7ee4b3b767b8cc097ffe8205c71f3afbe5d39
Refactor writing files in the Blender exporter

Instead of having the same loop over statements in a dozen of places,
put it in the Resource class.
blender/io_mspgl/datafile.py
blender/io_mspgl/export_animation.py
blender/io_mspgl/export_camera.py
blender/io_mspgl/export_material.py
blender/io_mspgl/export_mesh.py
blender/io_mspgl/export_object.py
blender/io_mspgl/export_scene.py
blender/io_mspgl/export_texture.py