From 374c7c2a7ba029236c9cceb63218453579ba70d8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 14 Mar 2011 01:38:56 +0000 Subject: update for changes in rna api --- io_scene_x3d/export_x3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_scene_x3d') diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index f7bba662..10347658 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -725,7 +725,7 @@ class x3d_class: elif objType in ('MESH', 'CURVE', 'SURF', 'FONT'): if use_apply_modifiers or objType != 'MESH': try: - me = ob.create_mesh(scene, use_apply_modifiers, 'PREVIEW') + me = ob.to_mesh(scene, use_apply_modifiers, 'PREVIEW') except: me = None else: -- cgit v1.2.3