Cleanup: Add comment about purpose of add modifier operator
This commit is contained in:
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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user