From 5117ec7cde893b17d4d7418b4812d20b9753ed54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 13 Oct 2016 10:05:58 +0200 Subject: [PATCH] Open in new Blender: pass all --enable-xxx CLI options to sub-blender. --- blender_cloud/attract/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blender_cloud/attract/__init__.py b/blender_cloud/attract/__init__.py index 5160d2d..4137868 100644 --- a/blender_cloud/attract/__init__.py +++ b/blender_cloud/attract/__init__.py @@ -457,8 +457,7 @@ class ATTRACT_OT_open_meta_blendfile(AttractOperatorMixin, Operator): str(fname), ] - if '--enable-new-depsgraph' in sys.argv: - cmd[1:1] = ['--enable-new-depsgraph'] + cmd[1:1] = [v for v in sys.argv if v.startswith('--enable-')] if scene: cmd.extend(['--scene', scene])