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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r--io_scene_x3d/export_x3d.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index 86b9d119..6cc1fb2b 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -496,7 +496,9 @@ def export(file,
fw('%s<Collision enabled="true">\n' % ident)
ident += '\t'
- ident = writeTransform_begin(ident, matrix, suffix_quoted_str(obj_id, "_TRANSFORM"))
+ # use _ifs_TRANSFORM suffix so we dont collide with transform node when
+ # hierarchys are used.
+ ident = writeTransform_begin(ident, matrix, suffix_quoted_str(obj_id, "_ifs_TRANSFORM"))
if mesh.tag:
fw('%s<Group USE=%s />\n' % (ident, mesh_id_group))