diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-28 11:10:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-28 11:10:39 +0400 |
commit | b71ccf3e06c3eb809ce548663a963df50468bed9 (patch) | |
tree | 0ee8d35d8b4b907c9b283e9dd3a1a10e6b98c632 /release/scripts/modules/bpy_extras | |
parent | e2522cead2271522c71a14ce45cae407a32606ec (diff) |
fix error in writing dupligroups for X3D export, may have effected other exporters too.
Diffstat (limited to 'release/scripts/modules/bpy_extras')
-rw-r--r-- | release/scripts/modules/bpy_extras/io_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_extras/io_utils.py b/release/scripts/modules/bpy_extras/io_utils.py index 9545e20b025..bd01897c639 100644 --- a/release/scripts/modules/bpy_extras/io_utils.py +++ b/release/scripts/modules/bpy_extras/io_utils.py @@ -203,7 +203,7 @@ def axis_conversion_ensure(operator, forward_attr, up_attr): # return a tuple (free, object list), free is True if memory should be freed later with free_derived_objects() def create_derived_objects(scene, ob): - if ob.parent and ob.parent.dupli_type != 'NONE': + if ob.parent and ob.parent.dupli_type in {'VERTS', 'FACES'}: return False, None if ob.dupli_type != 'NONE': |