diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-06-10 21:28:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-06-10 21:28:21 +0400 |
commit | d1959e51b257668bee45b8e668cd3da4ad5d4dd3 (patch) | |
tree | 600341c87ad58e40a1d0c53894f9bb7c1d76bfc6 /release | |
parent | d39d2e72797973fe079ab6e8a7810dbcb2c506b8 (diff) |
was missing editmode exit in script template
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/scripttemplate_mesh_edit.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/scripttemplate_mesh_edit.py b/release/scripts/scripttemplate_mesh_edit.py index e94b139a92d..159fb884925 100644 --- a/release/scripts/scripttemplate_mesh_edit.py +++ b/release/scripts/scripttemplate_mesh_edit.py @@ -70,6 +70,7 @@ def main(): # editmode if its enabled, we cant make # changes to the mesh data while in editmode. is_editmode = Window.EditMode() + if is_editmode: Window.EditMode(0) Window.WaitCursor(1) me = ob_act.getData(mesh=1) # old NMesh api is default |