mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-26 13:32:32 +00:00
21a36f9878
* removed a lot of obsolete code * overhauled settings upsert * added save & load of blenvy common settings * removed most of the specific uis (mostly auto export) * moved change detection logic out of auto export (wip) * added helper to compare setting dicts * cleaned up some incoherent naming * stripped auto_export of a lot of its internals (wip) * main settings ui overhaul: now components & auto export provide their own settings UI function
19 lines
693 B
Python
19 lines
693 B
Python
def draw_settings_ui(layout, registry):
|
|
row = layout.row()
|
|
col = row.column()
|
|
col.enabled = False
|
|
col.prop(registry, "schemaPath", text="Registry Schema path")
|
|
col = row.column()
|
|
col.operator(operator="blenvy.open_schemafilebrowser", text="Browse for registry schema file (json)")
|
|
|
|
layout.separator()
|
|
layout.operator(operator="object.reload_registry", text="reload registry" , icon="FILE_REFRESH")
|
|
|
|
layout.separator()
|
|
row = layout.row()
|
|
|
|
row.prop(registry, "watcher_enabled", text="enable registry file polling")
|
|
row.prop(registry, "watcher_poll_frequency", text="registry file poll frequency (s)")
|
|
|
|
layout.separator()
|
|
layout.separator() |