was missing editmode exit in script template

This commit is contained in:
Campbell Barton 2007-06-10 17:28:21 +00:00
parent d39d2e7279
commit d1959e51b2

@ -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