From afb5e0e411e74a4406db0db69945005ba1527b90 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 3 May 2011 06:02:17 +0000 Subject: patch [#27237] Export to X3D uses incorrect and node names from Yaroslav Zubkov (yzubkov) --- io_scene_x3d/export_x3d.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'io_scene_x3d') diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index 2dc9f638..94bb3bd5 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -278,7 +278,8 @@ class x3d_class: def writeIndexedFaceSet(self, ob, mesh, mtx, world, EXPORT_TRI=False): fw = self.file.write - mesh_name_x3d = self.cleanStr(ob.name) + shape_name_x3d = self.cleanStr(ob.name) + mesh_name_x3d = self.cleanStr(mesh.name) if not mesh.faces: return @@ -314,7 +315,7 @@ class x3d_class: loc, quat, sca = mtx.decompose() - self.write_indented("