From bc293f5b0c455cdc5da9d3cf5f5192d51744ead8 Mon Sep 17 00:00:00 2001 From: josh Date: Sun, 15 Nov 2009 23:10:18 +0000 Subject: [PATCH] skipping objects whose name begins with "_" git-svn-id: svn://anubis/misc/phy_export@207 bd8a9e45-a331-0410-811e-c64571078777 --- phy_export.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phy_export.py b/phy_export.py index af7e38d..7a68992 100644 --- a/phy_export.py +++ b/phy_export.py @@ -13,6 +13,8 @@ def write(filename): out = file(filename, "w") sce = bpy.data.scenes.active for ob in sce.objects: + if ob.name[0] == '_': + continue if ob.type == 'Mesh': if len(ob.data.faces) == 1: # found a plane