41 "Assigning a slot that we know is suitable should work");
54 BLI_assert_msg(ok,
"Un-assigning an Action from an NLA strip should always work.");
#define BLI_assert_msg(a, msg)
#define UNUSED_VARS_NDEBUG(...)
const Slot * slot(int64_t index) const
blender::Span< const Slot * > slots() const
Slot * slot_for_handle(slot_handle_t handle)
bool is_suitable_for(const ID &animated_id) const
static constexpr slot_handle_t unassigned
void unassign_action(NlaStrip &strip, ID &animated_id)
ActionSlotAssignmentResult assign_action_slot_handle(NlaStrip &strip, slot_handle_t slot_handle, ID &animated_id)
bool assign_action(NlaStrip &strip, Action &action, ID &animated_id)
ActionSlotAssignmentResult assign_action_slot(NlaStrip &strip, Slot *slot_to_assign, ID &animated_id)
bool generic_assign_action(ID &animated_id, bAction *action_to_assign, bAction *&action_ptr_ref, slot_handle_t &slot_handle_ref, char *slot_identifier)
ActionSlotAssignmentResult generic_assign_action_slot(Slot *slot_to_assign, ID &animated_id, bAction *&action_ptr_ref, slot_handle_t &slot_handle_ref, char *slot_identifier)
decltype(::ActionSlot::handle) slot_handle_t
ActionSlotAssignmentResult
char last_slot_identifier[258]
int32_t action_slot_handle