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:
authorCampbell Barton <ideasman42@gmail.com>2013-02-07 08:25:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-07 08:25:53 +0400
commit9e11509b70067c0c24fec6f1c38e7c4b93ba7f06 (patch)
treef8540bde9c30863a530ad072ffed51060799155b /io_scene_x3d/export_x3d.py
parent05b77ae4f880355178641584939cfb87d6cc7638 (diff)
make option for applying modifiers consistent
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r--io_scene_x3d/export_x3d.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index 70321305..477e6c2b 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -239,7 +239,7 @@ def h3d_is_object_view(scene, obj):
def export(file,
global_matrix,
scene,
- use_apply_modifiers=False,
+ use_mesh_modifiers=False,
use_selection=True,
use_triangulate=False,
use_normals=False,
@@ -1428,9 +1428,9 @@ def export(file,
ident += '\t'
elif obj_type in {'MESH', 'CURVE', 'SURFACE', 'FONT'}:
- if (obj_type != 'MESH') or (use_apply_modifiers and obj.is_modified(scene, 'PREVIEW')):
+ if (obj_type != 'MESH') or (use_mesh_modifiers and obj.is_modified(scene, 'PREVIEW')):
try:
- me = obj.to_mesh(scene, use_apply_modifiers, 'PREVIEW')
+ me = obj.to_mesh(scene, use_mesh_modifiers, 'PREVIEW')
except:
me = None
do_remove = True
@@ -1568,7 +1568,7 @@ def gzip_open_utf8(filepath, mode):
def save(operator, context, filepath="",
use_selection=True,
- use_apply_modifiers=False,
+ use_mesh_modifiers=False,
use_triangulate=False,
use_normals=False,
use_compress=False,
@@ -1595,7 +1595,7 @@ def save(operator, context, filepath="",
export(file,
global_matrix,
context.scene,
- use_apply_modifiers=use_apply_modifiers,
+ use_mesh_modifiers=use_mesh_modifiers,
use_selection=use_selection,
use_triangulate=use_triangulate,
use_normals=use_normals,