Force blends into Object Mode upon opening

This commit is contained in:
Phillip Stephens 2016-04-03 22:16:08 -07:00
parent 80284ad816
commit 18351e0e53
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ while True:
elif cmdargs[0] == 'OPEN':
if 'FINISHED' in bpy.ops.wm.open_mainfile(filepath=cmdargs[1]):
bpy.ops.object.mode_set(mode = 'OBJECT')
writepipeline(b'FINISHED')
else:
writepipeline(b'CANCELLED')