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.py2
1 files changed, 1 insertions, 1 deletions
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: