Brushstroke Tools: Initial Version #328
@ -33,6 +33,10 @@ def refresh_preset(dummy):
|
|||||||
if not mod_info:
|
if not mod_info:
|
||||||
mod_info = settings.preset_object.modifier_info.add()
|
mod_info = settings.preset_object.modifier_info.add()
|
||||||
mod_info.name = mod.name
|
mod_info.name = mod.name
|
||||||
|
if not mod.type == 'NODES':
|
||||||
|
continue
|
||||||
|
if not mod.node_group:
|
||||||
|
continue
|
||||||
for v in mod.node_group.interface.items_tree.values():
|
for v in mod.node_group.interface.items_tree.values():
|
||||||
if type(v) is bpy.types.NodeTreeInterfacePanel:
|
if type(v) is bpy.types.NodeTreeInterfacePanel:
|
||||||
v_id = f'Panel_{v.index}' # TODO: replace with panel identifier once that is exposed in Blender 4.3
|
v_id = f'Panel_{v.index}' # TODO: replace with panel identifier once that is exposed in Blender 4.3
|
||||||
|
Loading…
Reference in New Issue
Block a user