Skip to content
Snippets Groups Projects
Commit 77258389 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix [#27896] B258.0 > X3D export > 2 bugs: Lib Groups, Rotation 0 0 0 0

parent 919ab638
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment