diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-11-17 01:27:31 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-11-17 01:27:31 +0300 |
commit | e2b3ff502417df4fb7237e0090dcd2f5564e35da (patch) | |
tree | 442e7ff27befddfc7cb50aa0fd31a98cee8f0a28 /source/blender/collada/collada_internal.cpp | |
parent | b1b02b7a5ef8d4fca6f257d5057bb5993bcf7182 (diff) |
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.
Diffstat (limited to 'source/blender/collada/collada_internal.cpp')
-rw-r--r-- | source/blender/collada/collada_internal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |