Added name attribute to instance_geometry nodes (request for Second Life)

This commit is contained in:
Gaia Clary 2015-05-01 12:15:55 +02:00
parent 6bc8a3f8d3
commit 9715d4c778
Notes: blender-bot 2023-04-04 07:45:26 +02:00
Referenced by issue #45455, Select Linked is inconsistant
Referenced by issue #45145, Camera scale bug - Cannot select when camera scale != 1 & looking through camera
Referenced by issue #44759, Blender has problems reading and writing 42k images to PNG
Referenced by issue #44604, rake doesn't properly align the strokes
Referenced by issue #44591, ShortCut for Bone Group Index doesnt work
1 changed files with 1 additions and 1 deletions

View File

@ -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();