skipping objects whose name begins with "_"
git-svn-id: svn://anubis/misc/phy_export@207 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
bbc1a770bc
commit
bc293f5b0c
@ -13,6 +13,8 @@ def write(filename):
|
|||||||
out = file(filename, "w")
|
out = file(filename, "w")
|
||||||
sce = bpy.data.scenes.active
|
sce = bpy.data.scenes.active
|
||||||
for ob in sce.objects:
|
for ob in sce.objects:
|
||||||
|
if ob.name[0] == '_':
|
||||||
|
continue
|
||||||
if ob.type == 'Mesh':
|
if ob.type == 'Mesh':
|
||||||
if len(ob.data.faces) == 1:
|
if len(ob.data.faces) == 1:
|
||||||
# found a plane
|
# found a plane
|
||||||
|
Loading…
x
Reference in New Issue
Block a user