Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/collada/InstanceWriter.cpp')
-rw-r--r--source/blender/collada/InstanceWriter.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/collada/InstanceWriter.cpp b/source/blender/collada/InstanceWriter.cpp
index a135b51f025..f822db0f39b 100644
--- a/source/blender/collada/InstanceWriter.cpp
+++ b/source/blender/collada/InstanceWriter.cpp
@@ -23,6 +23,11 @@
* ***** END GPL LICENSE BLOCK *****
*/
+/** \file blender/collada/InstanceWriter.cpp
+ * \ingroup collada
+ */
+
+
#include <string>
#include "COLLADASWInstanceMaterial.h"
@@ -45,7 +50,7 @@ void InstanceWriter::add_material_bindings(COLLADASW::BindMaterial& bind_materia
COLLADASW::InstanceMaterialList& iml = bind_material.getInstanceMaterialList();
if (ma) {
- std::string matid(id_name(ma));
+ std::string matid(get_material_id(ma));
matid = translate_id(matid);
COLLADASW::InstanceMaterial im(matid, COLLADASW::URI(COLLADABU::Utils::EMPTY_STRING, matid));