Blender V4.3
ANIM_animdata.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
11#pragma once
12
13#include "BLI_string_ref.hh"
14#include "BLI_vector.hh"
15
16struct ID;
17struct Main;
18
19struct bAnimContext;
20struct AnimData;
21struct FCurve;
22struct bAction;
23
24namespace blender::animrig {
25
26class Action;
27
32bAction *id_action_ensure(Main *bmain, ID *id);
33
39
43
51
59Vector<ID *> find_related_ids(Main &bmain, ID &id);
60
82 StringRefNull rna_path,
83 int array_index);
84
85} // namespace blender::animrig
Vector< ID * > find_related_ids(Main &bmain, ID &id)
Definition animdata.cc:66
bAction * id_action_ensure(Main *bmain, ID *id)
Definition animdata.cc:195
void reevaluate_fcurve_errors(bAnimContext *ac)
Definition animdata.cc:334
bool animdata_remove_empty_action(AnimData *adt)
Definition animdata.cc:317
const FCurve * fcurve_find_by_rna_path(const AnimData &adt, StringRefNull rna_path, int array_index)
Definition animdata.cc:365
void animdata_fcurve_delete(bAnimContext *ac, AnimData *adt, FCurve *fcu)
Definition animdata.cc:253
Definition DNA_ID.h:413