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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user