mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 19:55:51 +00:00
Blendershell exception fix
This commit is contained in:
parent
124b5e5f3a
commit
8611c85791
@ -199,6 +199,7 @@ while True:
|
||||
|
||||
elif cmdargs[0] == 'OPEN':
|
||||
if 'FINISHED' in bpy.ops.wm.open_mainfile(filepath=cmdargs[1]):
|
||||
if bpy.ops.object.mode_set.poll():
|
||||
bpy.ops.object.mode_set(mode = 'OBJECT')
|
||||
writepipeline(b'FINISHED')
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user