]> git.tdb.fi Git - libs/gl.git/commit
Export world transforms for scene objects
authorMikko Rasa <tdb@tdb.fi>
Tue, 4 Jun 2019 10:39:27 +0000 (13:39 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 4 Jun 2019 10:39:27 +0000 (13:39 +0300)
commitbe787bc40ba0bb9c7bb622b6172f24b8b8119ec6
tree1ce2f090ccbea1164c5b416e427c1e5704396b56
parent94d95c02822b2cff8e5d8254fed7b3058584acf7
Export world transforms for scene objects

The location, rotation and scale properties contain transform components
relative to the somewhat arbitrary basis matrix.  Obtain the values from
the world matrix instead.  A drawback is that nonuniform or negative
scaling can produce inconsistent results.
blender/io_mspgl/export_scene.py