fix error in writing dupligroups for X3D export, may have effected other exporters too.

This commit is contained in:
Campbell Barton
2011-07-28 07:10:39 +00:00
parent e2522cead2
commit b71ccf3e06

View File

@@ -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':