Fix (unreported) broken ui_undo_tests due to mistake in geonode code.

poll function expects a modifier or `None` from `get_context_modifier`,
and was getting `False` instead...
This commit is contained in:
Bastien Montagne
2025-09-24 11:50:07 +02:00
parent 9b7086a422
commit 00612f0960

View File

@@ -84,7 +84,7 @@ def get_context_modifier(context):
if modifier is ...:
ob = context.object
if ob is None:
return False
return None
modifier = ob.modifiers.active
if modifier is None or modifier.type != 'NODES':
return None