Enable scripts_auto_execute in setup.py
This commit is contained in:
parent
f767a7a363
commit
158ba5fba4
@ -7,6 +7,7 @@ hostname = 'http://localhost:8080/'
|
|||||||
## SETUP PREFS ##
|
## SETUP PREFS ##
|
||||||
bpy.context.preferences.addons["cycles"].preferences.compute_device_type = render_api
|
bpy.context.preferences.addons["cycles"].preferences.compute_device_type = render_api
|
||||||
bpy.context.preferences.addons['flamenco'].preferences.manager_url = hostname
|
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()
|
bpy.ops.wm.save_userpref()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user