diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2015-05-01 13:15:55 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2015-05-03 00:17:40 +0300 |
commit | 9715d4c778a7229783e19a339fd823a944c76359 (patch) | |
tree | 581d1affb7f46058e40cd8673805db1ae88df4e0 /source | |
parent | 6bc8a3f8d3b47c1b8be0ede8293334448ea6bf3f (diff) |
Added name attribute to instance_geometry nodes (request for Second Life)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/collada/SceneExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/SceneExporter.cpp b/source/blender/collada/SceneExporter.cpp index b2d9aed579b..ac8ac2b9867 100644 --- a/source/blender/collada/SceneExporter.cpp +++ b/source/blender/collada/SceneExporter.cpp @@ -150,7 +150,7 @@ void SceneExporter::writeNodes(Object *ob, Scene *sce) if (!instance_controller_created) { COLLADASW::InstanceGeometry instGeom(mSW); instGeom.setUrl(COLLADASW::URI(COLLADABU::Utils::EMPTY_STRING, get_geometry_id(ob, this->export_settings->use_object_instantiation))); - + instGeom.setName(translate_id(id_name(ob))); InstanceWriter::add_material_bindings(instGeom.getBindMaterial(), ob, this->export_settings->active_uv_only); instGeom.add(); |