diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2006-02-01 18:21:05 +0300 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2006-02-01 18:21:05 +0300 |
commit | 76ba34768e36d89b764d798e4fc26a12ea3d9dd9 (patch) | |
tree | 21a9340a217c400c8829fc38ec7341b57b4ca3b1 /release/scripts/flt_import.py | |
parent | 88e0f089be192fc15f2a2b657156e9596cb8d9d9 (diff) |
bugfix: Object.Get() throws ValueError rather than AttributeError.
Diffstat (limited to 'release/scripts/flt_import.py')
-rwxr-xr-x | release/scripts/flt_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/flt_import.py b/release/scripts/flt_import.py index 2553f34dbf0..47a738973a6 100755 --- a/release/scripts/flt_import.py +++ b/release/scripts/flt_import.py @@ -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) |