From e2b3ff502417df4fb7237e0090dcd2f5564e35da Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Tue, 16 Nov 2010 22:27:31 +0000 Subject: Apply patch [#24722] COLLADA exporter: handle instancing Submitted by Wenzel Jakob Patch adds handling of linked meshes: instead of generating separate geometry objects, use instances. --- source/blender/collada/collada_internal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/collada/collada_internal.cpp') diff --git a/source/blender/collada/collada_internal.cpp b/source/blender/collada/collada_internal.cpp index 6f401c1856f..4943aa96546 100644 --- a/source/blender/collada/collada_internal.cpp +++ b/source/blender/collada/collada_internal.cpp @@ -247,7 +247,7 @@ std::string id_name(void *id) std::string get_geometry_id(Object *ob) { - return translate_id(id_name(ob)) + "-mesh"; + return translate_id(id_name(ob->data)) + "-mesh"; } std::string get_light_id(Object *ob) -- cgit v1.2.3