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