Cleanup: clarify 'disabled' message in anim.slot_new_for_id poll function
The old text seemed to suggest that an Action Slot can only be created at the moment of assigning the Action to something. That is not the case. The operator just works on the assigned Action, and if none is assigned, there is nothing it can do.
This commit is contained in:
@@ -686,7 +686,7 @@ class ANIM_OT_slot_new_for_id(Operator):
|
||||
if not animated_id:
|
||||
return False
|
||||
if not animated_id.animation_data or not animated_id.animation_data.action:
|
||||
cls.poll_message_set("An action slot can only be created when an action was assigned")
|
||||
cls.poll_message_set("An action slot can only be created when an action is assigned")
|
||||
return False
|
||||
if not animated_id.animation_data.action.is_action_layered:
|
||||
cls.poll_message_set("Action slots are only supported by layered Actions. Upgrade this Action first")
|
||||
|
||||
Reference in New Issue
Block a user