diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-28 08:00:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-28 08:00:35 +0300 |
commit | ab06e52343fbd45661388d4d41a636b4fb15629d (patch) | |
tree | c70e3a4d5c02fe6033bc70b00925cdc0be9d3ae7 /release/scripts/flt_import.py | |
parent | c063e01f068fa6a02891238f9e73f9e3f952919a (diff) |
Mech cleanup use new edge_keys
continual script stuff, minor stuff..
fix for bad return in group.
Added back group.objects.append/remove but print deprectaed warning. also some epydoc changes.
Diffstat (limited to 'release/scripts/flt_import.py')
-rwxr-xr-x | release/scripts/flt_import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/flt_import.py b/release/scripts/flt_import.py index be9f4742ac0..18b1d0a4b8a 100755 --- a/release/scripts/flt_import.py +++ b/release/scripts/flt_import.py @@ -1835,8 +1835,8 @@ def select_file(filename): # FIX UP AFTER DUMMY VERT AND REMOVE DOUBLES Blender.Mesh.Mode(Blender.Mesh.SelectModes['VERTEX']) - for ob in Blender.Object.GetSelected(): - if ob.getType()=='Mesh': + for ob in scene.objects.context: + if ob.type=='Mesh': me=ob.getData(mesh=1) me.verts.delete(0) # remove the dummy vert me.sel= 1 |