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>2011-07-28 11:10:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-28 11:10:02 +0400
commit77258389ffc74e23f7cc5f3e16b9f4971d9e8817 (patch)
tree28ef9fbaf80cd6ef5d25f427f02e690564245793 /io_scene_x3d/export_x3d.py
parent919ab638a713be72950c1a016c5e7ce821d82df1 (diff)
fix [#27896] B258.0 > X3D export > 2 bugs: Lib Groups, Rotation 0 0 0 0
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r--io_scene_x3d/export_x3d.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index 81c29b04..e39ed07e 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -1229,9 +1229,6 @@ def export(file,
world = scene.world
free, derived = create_derived_objects(scene, obj_main)
- if derived is None:
- return
-
if use_hierarchy:
obj_main_matrix_world = obj_main.matrix_world
if obj_main_parent:
@@ -1244,7 +1241,7 @@ def export(file,
ident = writeTransform_begin(ident, obj_main_matrix if obj_main_parent else global_matrix * obj_main_matrix, suffix_quoted_str(obj_main_id, "_TRANSFORM"))
- for obj, obj_matrix in derived:
+ for obj, obj_matrix in (() if derived is None else derived):
obj_type = obj.type
if use_hierarchy: