changeset 1238:8c2711796060 draft

fix blender script
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Fri, 21 Oct 2011 18:20:49 +0900
parents 3c7e09953326
children 759798f134e3
files SceneGraph/BlenderScript/export_xml3.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SceneGraph/BlenderScript/export_xml3.py	Thu Oct 20 23:54:30 2011 +0900
+++ b/SceneGraph/BlenderScript/export_xml3.py	Fri Oct 21 18:20:49 2011 +0900
@@ -332,7 +332,7 @@
 			if ob.type not in ('MESH', 'CURVE', 'SURFACE', 'TEXT', 'META'):
 				continue
 
-			data = bpy.data.meshes[ob_derived.name]
+			data = ob_derived.data
 
 			if data:
 				data.transform(mat)