From 18351e0e536ba08365d35e3ffead275706039e48 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 3 Apr 2016 22:16:08 -0700 Subject: [PATCH] Force blends into Object Mode upon opening --- hecl/blender/hecl_blendershell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hecl/blender/hecl_blendershell.py b/hecl/blender/hecl_blendershell.py index 6817b58fe..610806b13 100644 --- a/hecl/blender/hecl_blendershell.py +++ b/hecl/blender/hecl_blendershell.py @@ -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')