mirror of
https://github.com/blw1138/Zordon.git
synced 2026-02-05 13:46:10 +00:00
Pyinstaller support (#93)
* Add main.spec * Fix issue where fetching supported extensions would crash with no default installation
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
|
||||
class BlenderUI:
|
||||
@staticmethod
|
||||
def get_options(instance):
|
||||
def get_options(system_info):
|
||||
options = [
|
||||
{'name': 'engine', 'options': instance.supported_render_engines()},
|
||||
{'name': 'engine', 'options': system_info.get('engines', [])},
|
||||
{'name': 'render_device', 'options': ['Any', 'GPU', 'CPU']},
|
||||
]
|
||||
return options
|
||||
|
||||
Reference in New Issue
Block a user