bugfix: Object.Get() throws ValueError rather than AttributeError.
authorStephen Swaney <sswaney@centurytel.net>
Wed, 1 Feb 2006 15:21:05 +0000 (15:21 +0000)
committerStephen Swaney <sswaney@centurytel.net>
Wed, 1 Feb 2006 15:21:05 +0000 (15:21 +0000)
release/scripts/flt_import.py

index 2553f34dbf034c34255d63e32106328f64d66b13..47a738973a63bc86e69aa736d30dc658d15acf5c 100755 (executable)
@@ -168,7 +168,7 @@ def scanFillPoints(pointList):
 
     try:
         ob = Blender.Object.Get('.scanfill')
-    except AttributeError:
+    except ValueError:
         ob = Blender.Object.New('Mesh')
         ob.setName('.scanfill')
         ob.link(nme)