52 internal->link =
NULL;
72 "Action group '%s' not found in action '%s'",
99 const char *data_path,
103 if (group && group[0] ==
'\0') {
107 if (data_path[0] ==
'\0') {
116 "F-Curve '%s[%d]' already exists in action '%s'",
127 const char *data_path,
130 if (data_path[0] ==
'\0') {
146 "F-Curve's action group '%s' not found in action '%s'",
171 static void rna_Action_fcurve_clear(
bAction *act)
187 static void rna_Action_pose_markers_remove(
bAction *act,
195 "Timeline marker '%s' not found in action '%s'",
212 static void rna_Action_active_pose_marker_set(
PointerRNA *
ptr,
220 static int rna_Action_active_pose_marker_index_get(
PointerRNA *
ptr)
226 static void rna_Action_active_pose_marker_index_set(
PointerRNA *
ptr,
int value)
232 static void rna_Action_active_pose_marker_index_range(
241 static void rna_Action_frame_range_get(
PointerRNA *
ptr,
float *r_values)
246 static void rna_Action_frame_range_set(
PointerRNA *
ptr,
const float *values)
251 data->frame_start = values[0];
252 data->frame_end = values[1];
256 static void rna_Action_curve_frame_range_get(
PointerRNA *
ptr,
float *values)
262 static void rna_Action_use_frame_range_set(
PointerRNA *
ptr,
bool value)
268 if ((
data->frame_start ==
data->frame_end) && (
data->frame_start == 0)) {
279 static void rna_Action_start_frame_set(
PointerRNA *
ptr,
float value)
283 data->frame_start = value;
287 static void rna_Action_end_frame_set(
PointerRNA *
ptr,
float value)
291 data->frame_end = value;
365 srna,
"Dope Sheet",
"Settings for filtering the channels shown in animation editors");
372 prop,
"Source",
"ID-Block representing source data, usually ID_SCE (i.e. Scene)");
379 "Show Data-Block Filters",
380 "Show options for whether channels related to certain types of data are included");
388 prop,
"Only Show Selected",
"Only include channels relating to selected objects and data");
395 prop,
"Show Hidden",
"Include channels from objects/bone that are not visible");
403 "Alphabetically sorts data-blocks - mainly objects in the scene "
404 "(disable to increase viewport speed)");
419 "Only include F-Curves and drivers that are disabled or have errors");
428 prop,
"Filtering Collection",
"Collection that included object should be a member of");
451 "Multi-Word Fuzzy Filter",
452 "Perform fuzzy/multi-word matching.\n"
453 "Warning: May be slow");
461 "Include Missing NLA",
462 "Include animation data-blocks with no NLA data (NLA editor only)");
470 prop,
"Display Summary",
"Display an additional 'summary' line (Dope Sheet editors only)");
479 "Collapse summary when shown, so all other channels get hidden (Dope Sheet editors only)");
487 "Display Transforms",
488 "Include visualization of object-level animation data (mostly transforms)");
495 prop,
"Display Shape Keys",
"Include visualization of shape key related animation data");
503 "Display Modifier Data",
504 "Include visualization of animation data related to data-blocks linked to modifiers");
511 prop,
"Display Meshes",
"Include visualization of mesh related animation data");
518 prop,
"Display Lattices",
"Include visualization of lattice related animation data");
525 prop,
"Display Camera",
"Include visualization of camera related animation data");
532 prop,
"Display Material",
"Include visualization of material related animation data");
539 prop,
"Display Light",
"Include visualization of light related animation data");
546 prop,
"Display Line Style",
"Include visualization of Line Style related Animation data");
553 prop,
"Display Texture",
"Include visualization of texture related animation data");
560 prop,
"Display Curve",
"Include visualization of curve related animation data");
567 prop,
"Display World",
"Include visualization of world related animation data");
574 prop,
"Display Scene",
"Include visualization of scene related animation data");
581 prop,
"Display Particle",
"Include visualization of particle related animation data");
588 prop,
"Display Metaball",
"Include visualization of metaball related animation data");
595 prop,
"Display Armature",
"Include visualization of armature related animation data");
602 prop,
"Display Node",
"Include visualization of node related animation data");
609 prop,
"Display Speaker",
"Include visualization of speaker related animation data");
616 prop,
"Display Cache Files",
"Include visualization of cache file related animation data");
623 prop,
"Display Hair",
"Include visualization of hair related animation data");
630 prop,
"Display Point Cloud",
"Include visualization of point cloud related animation data");
637 prop,
"Display Volume",
"Include visualization of volume related animation data");
645 "Display Grease Pencil",
646 "Include visualization of Grease Pencil related animation data and frames");
653 prop,
"Display Movie Clips",
"Include visualization of movie clip related animation data");
714 prop,
"Expanded in Graph Editor",
"Action group is expanded in graph editor");
742 parm =
RNA_def_string(func,
"name",
"Group", 0,
"",
"New name for the action group");
745 parm =
RNA_def_pointer(func,
"action_group",
"ActionGroup",
"",
"Newly created action group");
751 parm =
RNA_def_pointer(func,
"action_group",
"ActionGroup",
"",
"Action group to remove");
772 parm =
RNA_def_string(func,
"data_path",
NULL, 0,
"Data Path",
"F-Curve data path to use");
774 RNA_def_int(func,
"index", 0, 0, INT_MAX,
"Index",
"Array index", 0, INT_MAX);
776 func,
"action_group",
NULL, 0,
"Action Group",
"Acton group to add this F-Curve into");
778 parm =
RNA_def_pointer(func,
"fcurve",
"FCurve",
"",
"Newly created F-Curve");
785 "Find an F-Curve. Note that this function performs a linear scan "
786 "of all F-Curves in the action.");
790 RNA_def_int(func,
"index", 0, 0, INT_MAX,
"Index",
"Array index", 0, INT_MAX);
792 func,
"fcurve",
"FCurve",
"",
"The found F-Curve, or None if it doesn't exist");
799 parm =
RNA_def_pointer(func,
"fcurve",
"FCurve",
"",
"F-Curve to remove");
823 parm =
RNA_def_string(func,
"name",
"Marker", 0,
NULL,
"New name for the marker (not unique)");
825 parm =
RNA_def_pointer(func,
"marker",
"TimelineMarker",
"",
"Newly created marker");
831 parm =
RNA_def_pointer(func,
"marker",
"TimelineMarker",
"",
"Timeline marker to remove");
839 prop,
"rna_Action_active_pose_marker_get",
"rna_Action_active_pose_marker_set",
NULL,
NULL);
846 "rna_Action_active_pose_marker_index_get",
847 "rna_Action_active_pose_marker_index_set",
848 "rna_Action_active_pose_marker_index_range");
882 prop,
"Pose Markers",
"Markers specific to this action, for labeling poses");
892 "Manual Frame Range",
893 "Manually specify the intended playback frame range for the action "
894 "(this range is used by some tools, but does not affect animation evaluation)");
903 "The action is intended to be used as a cycle looping over its manually set "
904 "playback frame range (enabling this doesn't automatically make it loop)");
913 prop,
"Start Frame",
"The start frame of the manually set intended playback range");
922 prop,
"End Frame",
"The end frame of the manually set intended playback range");
933 "The intended playback frame range of this action, using the manually set range "
934 "if available, or the combined frame range of all F-Curves within this action "
935 "if not (assigning sets the manual frame range)",
939 prop,
"rna_Action_frame_range_get",
"rna_Action_frame_range_set",
NULL);
949 "The combined frame range of all F-Curves within this action",
962 "Type of ID block that action can be used on - "
963 "DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING");
Blender kernel action and pose functionality.
struct bActionGroup * action_groups_add_new(struct bAction *act, const char name[])
void BKE_action_get_frame_range(const struct bAction *act, float *r_start, float *r_end)
void action_groups_remove_channel(struct bAction *act, struct FCurve *fcu)
void calc_action_range(const struct bAction *act, float *start, float *end, short incl_modifiers)
void BKE_action_fcurves_clear(struct bAction *act)
void BKE_fcurve_free(struct FCurve *fcu)
struct FCurve * BKE_fcurve_find(ListBase *list, const char rna_path[], int array_index)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void BKE_report(ReportList *reports, eReportType type, const char *message)
bool BLI_remlink_safe(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_remlink(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
MINLINE int max_ii(int a, int b)
char * BLI_strdup(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() ATTR_MALLOC
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(1
#define BLT_I18NCONTEXT_ID_ID
void DEG_id_tag_update(struct ID *id, int flag)
@ ID_RECALC_ANIMATION_NO_FLUSH
@ ADS_FILTER_NOMOVIECLIPS
@ ADS_FILTER_NOCACHEFILES
@ ADS_FILTER_NOPOINTCLOUD
@ ADS_FLAG_SHOW_DBFILTERS
@ ADS_FLAG_SUMMARY_COLLAPSED
@ ADT_CURVES_ALWAYS_VISIBLE
Read Guarded memory(de)allocation.
#define RNA_POINTER_INVALIDATE(ptr)
FCurve * ED_action_fcurve_ensure(struct Main *bmain, struct bAction *act, const char group[], struct PointerRNA *ptr, const char rna_path[], const int array_index)
FCurve * ED_action_fcurve_find(struct bAction *act, const char rna_path[], const int array_index)
void(* MEM_freeN)(void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
const EnumPropertyItem rna_enum_id_type_items[]
PointerRNA rna_pointer_inherit_refine(PointerRNA *ptr, StructRNA *type, void *data)
static void rna_def_action(BlenderRNA *brna)
static void rna_def_action_fcurves(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_action_groups(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_dopesheet(BlenderRNA *brna)
void RNA_def_action(BlenderRNA *brna)
static void rna_def_action_group(BlenderRNA *brna)
static void rna_def_action_pose_markers(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_action(StructRNA *srna)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
PropertyRNA * RNA_def_float_vector(StructOrFunctionRNA *cont_, const char *identifier, int len, const float *default_value, float hardmin, float hardmax, const char *ui_name, const char *ui_description, float softmin, float softmax)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_struct_name_property(struct StructRNA *srna, struct PropertyRNA *prop)
void RNA_def_function_flag(FunctionRNA *func, int flag)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, int default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void rna_def_actionbone_group_common(struct StructRNA *srna, int update_flag, const char *update_cb)
bool rna_Action_id_poll(struct PointerRNA *ptr, struct PointerRNA value)
bool rna_Action_actedit_assign_poll(struct PointerRNA *ptr, struct PointerRNA value)
ListBaseIterator listbase
union CollectionPropertyIterator::@1147 internal
void WM_main_add_notifier(unsigned int type, void *reference)