23#include "RNA_prototypes.hh"
37 for (
FCurve *fcu : bag->fcurves()) {
57 if (bag->slot_handle != handle) {
60 for (
FCurve *fcu : bag->fcurves()) {
82 if (bag->slot_handle != handle) {
85 for (
FCurve *fcu : bag->fcurves()) {
98 const auto forward_to_callback = [&](
ID & ,
102 if (!action_ptr_ref) {
105 return callback(action_ptr_ref->wrap(), slot_handle_ref);
109 forward_to_callback);
117 char *last_slot_identifier)> callback)
140 if (!looped_until_last_strip) {
151 Object &
object =
reinterpret_cast<Object &
>(animated_id);
159 auto visit_constraint = [&](
const bConstraint &constraint) ->
bool {
164 if (!constraint_data->
act) {
167 return callback(animated_id,
168 constraint_data->
act,
175 if (!visit_constraint(con)) {
186 if (!visit_constraint(con)) {
201 char *last_slot_identifier)> callback)
230 if (!looped_until_last_strip) {
241 Object &
object =
reinterpret_cast<Object &
>(animated_id);
249 auto visit_constraint = [&](
bConstraint &constraint) ->
bool {
254 if (!constraint_data->
act) {
267 if (!visit_constraint(con)) {
279 if (!visit_constraint(con)) {
Functions and classes to work with Actions.
Functionality to iterate an Action in various ways.
Object is a sort of wrapper for general info.
btSequentialImpulseConstraintSolverMt int btPersistentManifold int btTypedConstraint ** constraints
Span< const Layer * > layers() const
Span< const Channelbag * > channelbags() const
void foreach_fcurve_in_action_slot(Action &action, slot_handle_t handle, FunctionRef< void(FCurve &fcurve)> callback)
void assert_baklava_phase_1_invariants(const Action &action)
decltype(blender::ActionSlot::handle) slot_handle_t
bool foreach_action_slot_use(const ID &animated_id, FunctionRef< bool(Action &action, slot_handle_t slot_handle)> callback)
void foreach_fcurve_in_action(Action &action, FunctionRef< void(FCurve &fcurve)> callback)
bool foreach_action_slot_use_with_rna(ID &animated_id, FunctionRef< bool(ID &animated_id, bAction *action, PointerRNA &action_slot_owner_ptr, PropertyRNA &action_slot_prop, char *last_slot_identifier)> callback)
void foreach_fcurve_in_action_slot_editable(Action &action, slot_handle_t handle, FunctionRef< void(FCurve &fcurve)> callback)
bool foreach_action_slot_use_with_references(ID &animated_id, FunctionRef< bool(ID &animated_id, bAction *&action_ptr_ref, slot_handle_t &slot_handle_ref, char *last_slot_identifier)> callback)
bool foreach_strip_adt(const AnimData &adt, FunctionRef< bool(NlaStrip *)> callback)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
void BKE_pose_ensure(Main *bmain, Object *ob, bArmature *arm, bool do_id_user)
bool DEG_is_original(const T *id)
AnimData * BKE_animdata_from_id(const ID *id)
BMesh const char void * data
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
ID_Type GS(const char *name)
char last_slot_identifier[258]
int32_t action_slot_handle
char last_slot_identifier[258]
char last_slot_identifier[258]
int32_t action_slot_handle