66 internal->link =
NULL;
86 "Action group '%s' not found in action '%s'",
113 const char *data_path,
117 if (group && group[0] ==
'\0') {
121 if (data_path[0] ==
'\0') {
130 "F-Curve '%s[%d]' already exists in action '%s'",
141 const char *data_path,
144 if (data_path[0] ==
'\0') {
160 "F-Curve's action group '%s' not found in action '%s'",
195 static void rna_Action_pose_markers_remove(
bAction *act,
203 "Timeline marker '%s' not found in action '%s'",
220 static void rna_Action_active_pose_marker_set(
PointerRNA *
ptr,
228 static int rna_Action_active_pose_marker_index_get(
PointerRNA *
ptr)
234 static void rna_Action_active_pose_marker_index_set(
PointerRNA *
ptr,
int value)
240 static void rna_Action_active_pose_marker_index_range(
249 static void rna_Action_frame_range_get(
PointerRNA *
ptr,
float *values)
325 srna,
"Dope Sheet",
"Settings for filtering the channels shown in animation editors");
332 prop,
"Source",
"ID-Block representing source data, usually ID_SCE (i.e. Scene)");
339 "Show Data-Block Filters",
340 "Show options for whether channels related to certain types of data are included");
348 prop,
"Only Show Selected",
"Only include channels relating to selected objects and data");
355 prop,
"Show Hidden",
"Include channels from objects/bone that are not visible");
363 "Alphabetically sorts data-blocks - mainly objects in the scene "
364 "(disable to increase viewport speed)");
379 "Only include F-Curves and drivers that are disabled or have errors");
388 prop,
"Filtering Collection",
"Collection that included object should be a member of");
411 "Multi-Word Fuzzy Filter",
412 "Perform fuzzy/multi-word matching.\n"
413 "Warning: May be slow");
421 "Include Missing NLA",
422 "Include animation data-blocks with no NLA data (NLA editor only)");
430 prop,
"Display Summary",
"Display an additional 'summary' line (Dope Sheet editors only)");
439 "Collapse summary when shown, so all other channels get hidden (Dope Sheet editors only)");
447 "Display Transforms",
448 "Include visualization of object-level animation data (mostly transforms)");
455 prop,
"Display Shape Keys",
"Include visualization of shape key related animation data");
463 "Display Modifier Data",
464 "Include visualization of animation data related to data-blocks linked to modifiers");
471 prop,
"Display Meshes",
"Include visualization of mesh related animation data");
478 prop,
"Display Lattices",
"Include visualization of lattice related animation data");
485 prop,
"Display Camera",
"Include visualization of camera related animation data");
492 prop,
"Display Material",
"Include visualization of material related animation data");
499 prop,
"Display Light",
"Include visualization of light related animation data");
506 prop,
"Display Line Style",
"Include visualization of Line Style related Animation data");
513 prop,
"Display Texture",
"Include visualization of texture related animation data");
520 prop,
"Display Curve",
"Include visualization of curve related animation data");
527 prop,
"Display World",
"Include visualization of world related animation data");
534 prop,
"Display Scene",
"Include visualization of scene related animation data");
541 prop,
"Display Particle",
"Include visualization of particle related animation data");
548 prop,
"Display Metaball",
"Include visualization of metaball related animation data");
555 prop,
"Display Armature",
"Include visualization of armature related animation data");
562 prop,
"Display Node",
"Include visualization of node related animation data");
569 prop,
"Display Speaker",
"Include visualization of speaker related animation data");
576 prop,
"Display Cache Files",
"Include visualization of cache file related animation data");
583 prop,
"Display Hair",
"Include visualization of hair related animation data");
590 prop,
"Display Point Cloud",
"Include visualization of point cloud related animation data");
597 prop,
"Display Volume",
"Include visualization of volume related animation data");
605 "Display Grease Pencil",
606 "Include visualization of Grease Pencil related animation data and frames");
613 prop,
"Display Movie Clips",
"Include visualization of movie clip related animation data");
669 prop,
"Expanded in Graph Editor",
"Action group is expanded in graph editor");
697 parm =
RNA_def_string(func,
"name",
"Group", 0,
"",
"New name for the action group");
700 parm =
RNA_def_pointer(func,
"action_group",
"ActionGroup",
"",
"Newly created action group");
706 parm =
RNA_def_pointer(func,
"action_group",
"ActionGroup",
"",
"Action group to remove");
727 parm =
RNA_def_string(func,
"data_path",
NULL, 0,
"Data Path",
"F-Curve data path to use");
729 RNA_def_int(func,
"index", 0, 0, INT_MAX,
"Index",
"Array index", 0, INT_MAX);
731 func,
"action_group",
NULL, 0,
"Action Group",
"Acton group to add this F-Curve into");
733 parm =
RNA_def_pointer(func,
"fcurve",
"FCurve",
"",
"Newly created F-Curve");
740 "Find an F-Curve. Note that this function performs a linear scan "
741 "of all F-Curves in the action.");
745 RNA_def_int(func,
"index", 0, 0, INT_MAX,
"Index",
"Array index", 0, INT_MAX);
747 func,
"fcurve",
"FCurve",
"",
"The found F-Curve, or None if it doesn't exist");
754 parm =
RNA_def_pointer(func,
"fcurve",
"FCurve",
"",
"F-Curve to remove");
774 parm =
RNA_def_string(func,
"name",
"Marker", 0,
NULL,
"New name for the marker (not unique)");
776 parm =
RNA_def_pointer(func,
"marker",
"TimelineMarker",
"",
"Newly created marker");
782 parm =
RNA_def_pointer(func,
"marker",
"TimelineMarker",
"",
"Timeline marker to remove");
790 prop,
"rna_Action_active_pose_marker_get",
"rna_Action_active_pose_marker_set",
NULL,
NULL);
797 "rna_Action_active_pose_marker_index_get",
798 "rna_Action_active_pose_marker_index_set",
799 "rna_Action_active_pose_marker_index_range");
833 prop,
"Pose Markers",
"Markers specific to this action, for labeling poses");
844 "The final frame range of all F-Curves within this action",
857 "Type of ID block that action can be used on - "
858 "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 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_fcurve_free(struct FCurve *fcu)
struct FCurve * BKE_fcurve_find(ListBase *list, const char rna_path[], const int array_index)
void BKE_report(ReportList *reports, ReportType type, const char *message)
void BKE_reportf(ReportList *reports, ReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
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()
#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)
StructRNA RNA_TimelineMarker
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)
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_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)
union CollectionPropertyIterator::@1099 internal
ListBaseIterator listbase
void WM_main_add_notifier(unsigned int type, void *reference)