forked from bartvdbraak/blender
was missing editmode exit in script template
This commit is contained in:
parent
d39d2e7279
commit
d1959e51b2
@ -70,6 +70,7 @@ def main():
|
|||||||
# editmode if its enabled, we cant make
|
# editmode if its enabled, we cant make
|
||||||
# changes to the mesh data while in editmode.
|
# changes to the mesh data while in editmode.
|
||||||
is_editmode = Window.EditMode()
|
is_editmode = Window.EditMode()
|
||||||
|
if is_editmode: Window.EditMode(0)
|
||||||
|
|
||||||
Window.WaitCursor(1)
|
Window.WaitCursor(1)
|
||||||
me = ob_act.getData(mesh=1) # old NMesh api is default
|
me = ob_act.getData(mesh=1) # old NMesh api is default
|
||||||
|
Loading…
Reference in New Issue
Block a user