Enable scripts_auto_execute in setup.py

This commit is contained in:
Alan O'Cull 2024-09-02 11:09:27 -04:00
parent f767a7a363
commit 158ba5fba4

View File

@ -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()