From 158ba5fba4127ef08fb172bd1de92262d74811e3 Mon Sep 17 00:00:00 2001 From: Alan O'Cull Date: Mon, 2 Sep 2024 11:09:27 -0400 Subject: [PATCH] Enable scripts_auto_execute in setup.py --- setup/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/setup.py b/setup/setup.py index b476344..e95185e 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -7,6 +7,7 @@ hostname = 'http://localhost:8080/' ## SETUP PREFS ## bpy.context.preferences.addons["cycles"].preferences.compute_device_type = render_api bpy.context.preferences.addons['flamenco'].preferences.manager_url = hostname +bpy.context.preferences.filepaths.use_scripts_auto_execute = True # Enable for Rigify bpy.ops.wm.save_userpref()