]> git.tdb.fi Git - libs/gl.git/commit - blender/io_mspgl/export_scene.py
Try to simplify object names when exporting a scene
authorMikko Rasa <tdb@tdb.fi>
Fri, 24 May 2019 15:27:50 +0000 (18:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 24 May 2019 15:35:57 +0000 (18:35 +0300)
commitf1555f34a787949894025cce908f08ca3ff60633
treef1619ba9b409913bbaa5c863167b74b5aee95e4b
parentd5a302ff5a27018c2cda8ecc60840d5f72ee4e33
Try to simplify object names when exporting a scene

The exporter now tries to find the longest common prefix for objects
sharing the same prototype and exports the prototype using that name.
This avoids having randomly numbered object names.
blender/io_mspgl/export_scene.py