Cleanup: Add comment about purpose of add modifier operator

This commit is contained in:
Hans Goudey 2023-09-07 07:54:29 -04:00
parent 76dd61d942
commit 82438b37ad

@ -227,6 +227,7 @@ class AddModifierMenu(Operator):
@classmethod
def poll(cls, context):
# NOTE: This operator only exists to add a poll to the add modifier shortcut in the property editor.
space = context.space_data
return space and space.type == 'PROPERTIES' and space.context == "MODIFIER"