Fix: Geometry Nodes: Move to Nodes operator not disabled on linked data

This operator can only be used if the data-block the modifier belongs to
is editable.
This commit is contained in:
Simon Thommes
2025-09-21 13:43:42 +02:00
parent d857c48216
commit 40ecce9843

View File

@@ -92,7 +92,10 @@ def get_context_modifier(context):
def edit_geometry_nodes_modifier_poll(context):
return get_context_modifier(context) is not None
modifier = get_context_modifier(context)
if modifier is None:
return False
return modifier.id_data.is_editable
def socket_idname_to_attribute_type(idname):