diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2012-05-10 02:54:18 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2012-05-10 02:54:18 +0400 |
commit | 4071b2a8cd731cbca59e1609dbea4c97d5f26097 (patch) | |
tree | 21b8002a3240da11c46a82bd8f76691390f7966c /source/blender | |
parent | a986ece4b3991fcd678babe8ebb67a0e5187f10c (diff) |
Apply [#30199] Fix COLLADA export of material names
Submitted by Daniel Balster
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/collada/MaterialExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/MaterialExporter.cpp b/source/blender/collada/MaterialExporter.cpp index ac1a5d32a08..48fa5b690be 100644 --- a/source/blender/collada/MaterialExporter.cpp +++ b/source/blender/collada/MaterialExporter.cpp @@ -70,7 +70,7 @@ void MaterialsExporter::operator()(Material *ma, Object *ob) { std::string name(id_name(ma)); - openMaterial(get_material_id(ma), name); + openMaterial(get_material_id(ma), get_material_id(ma)); std::string efid = translate_id(name) + "-effect"; addInstanceEffect(COLLADASW::URI(COLLADABU::Utils::EMPTY_STRING, efid)); |