]> git.tdb.fi Git - libs/gl.git/commit
Redesign progress and error reporting in the Blender exporter
authorMikko Rasa <tdb@tdb.fi>
Sat, 5 Mar 2022 08:50:04 +0000 (10:50 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 5 Mar 2022 17:42:34 +0000 (19:42 +0200)
commit308dc6b8f5ee1aa3bb8f205e2ed6464749eebbe5
treea64225834e7445ffdb31667494df95183bcd1f23
parentcc270481e3e2f74d060ce2c63551970c835b06b8
Redesign progress and error reporting in the Blender exporter

Progress is now tracked in a context object, which also holds the Blender
context.  Tasks are represented by independent objects instead of a stack
structure.

The context/task objects also track which data object that task is about,
so the object path can be reported in errors.
blender/io_mspgl/__init__.py
blender/io_mspgl/context.py [new file with mode: 0644]
blender/io_mspgl/export.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/mesh.py
blender/io_mspgl/operators.py
blender/io_mspgl/scene.py
blender/io_mspgl/util.py