35 {0,
"DEFAULT", 0,
"Default Colors",
""},
36 {1,
"THEME01", ICON_COLORSET_01_VEC,
"01 - Theme Color Set",
""},
37 {2,
"THEME02", ICON_COLORSET_02_VEC,
"02 - Theme Color Set",
""},
38 {3,
"THEME03", ICON_COLORSET_03_VEC,
"03 - Theme Color Set",
""},
39 {4,
"THEME04", ICON_COLORSET_04_VEC,
"04 - Theme Color Set",
""},
40 {5,
"THEME05", ICON_COLORSET_05_VEC,
"05 - Theme Color Set",
""},
41 {6,
"THEME06", ICON_COLORSET_06_VEC,
"06 - Theme Color Set",
""},
42 {7,
"THEME07", ICON_COLORSET_07_VEC,
"07 - Theme Color Set",
""},
43 {8,
"THEME08", ICON_COLORSET_08_VEC,
"08 - Theme Color Set",
""},
44 {9,
"THEME09", ICON_COLORSET_09_VEC,
"09 - Theme Color Set",
""},
45 {10,
"THEME10", ICON_COLORSET_10_VEC,
"10 - Theme Color Set",
""},
46 {11,
"THEME11", ICON_COLORSET_11_VEC,
"11 - Theme Color Set",
""},
47 {12,
"THEME12", ICON_COLORSET_12_VEC,
"12 - Theme Color Set",
""},
48 {13,
"THEME13", ICON_COLORSET_13_VEC,
"13 - Theme Color Set",
""},
49 {14,
"THEME14", ICON_COLORSET_14_VEC,
"14 - Theme Color Set",
""},
50 {15,
"THEME15", ICON_COLORSET_15_VEC,
"15 - Theme Color Set",
""},
51 {16,
"THEME16", ICON_COLORSET_16_VEC,
"16 - Theme Color Set",
""},
52 {17,
"THEME17", ICON_COLORSET_17_VEC,
"17 - Theme Color Set",
""},
53 {18,
"THEME18", ICON_COLORSET_18_VEC,
"18 - Theme Color Set",
""},
54 {19,
"THEME19", ICON_COLORSET_19_VEC,
"19 - Theme Color Set",
""},
55 {20,
"THEME20", ICON_COLORSET_20_VEC,
"20 - Theme Color Set",
""},
56 {-1,
"CUSTOM", 0,
"Custom Color Set",
""},
57 {0,
nullptr, 0,
nullptr,
nullptr},
66# include <fmt/format.h>
108static void rna_PoseBone_visibility_update(
Main * ,
126 Object *ob = id_cast<Object *>(ptr->owner_id);
134static std::optional<std::string> rna_Pose_path(
const PointerRNA * )
139static std::optional<std::string> rna_PoseBone_path(
const PointerRNA *ptr)
159 Object *ob = id_cast<Object *>(ptr->owner_id);
160 if (!rna_bone_group_poll(ob,
nullptr)) {
167 if ((value >= -1) && (value < 21)) {
168 grp->customCol = value;
179 return (grp->customCol < 0);
194static void rna_Pose_ik_solver_set(
PointerRNA *ptr,
int value)
198 if (
pose->iksolver != value) {
201 MEM_SAFE_DELETE(
pose->ikparam);
209 Object *ob = id_cast<Object *>(ptr->owner_id);
224static void rna_PoseChannel_rotation_axis_angle_get(
PointerRNA *ptr,
float *value)
234static void rna_PoseChannel_rotation_axis_angle_set(
PointerRNA *ptr,
const float *value)
245static void rna_PoseChannel_rotation_mode_set(
PointerRNA *ptr,
int value)
261static void rna_PoseChannel_convert_rotation_mode(
264 if (rotation_mode < ROT_MODE_MIN || rotation_mode >
ROT_MODE_MAX) {
268 Object *ob = id_cast<Object *>(
id);
274static float rna_PoseChannel_length_get(
PointerRNA *ptr)
277 return len_v3v3(pchan->pose_head, pchan->pose_tail);
280static void rna_PoseChannel_name_set(
PointerRNA *ptr,
const char *value)
282 Object *ob = id_cast<Object *>(ptr->owner_id);
284 char oldname[
sizeof(pchan->name)], newname[
sizeof(pchan->name)];
298 ID *
id = ptr->owner_id;
309 Object *ob = id_cast<Object *>(ptr->owner_id);
319static bool rna_PoseChannel_has_ik_get(
PointerRNA *ptr)
321 Object *ob = id_cast<Object *>(ptr->owner_id);
331 switch (param->iksolver) {
349 switch (
pose->iksolver) {
359 Object *ob = id_cast<Object *>(ptr->owner_id);
363 itasc->
precision = std::max(itasc->precision, 0.0001f);
364 itasc->minstep = std::max(itasc->minstep, 0.001f);
365 itasc->maxstep = std::max(itasc->maxstep, itasc->minstep);
366 itasc->feedback = std::max(itasc->feedback, 0.01f);
367 itasc->feedback = std::min(itasc->feedback, 100.0f);
368 itasc->maxvel = std::max(itasc->maxvel, 0.01f);
369 itasc->maxvel = std::min(itasc->maxvel, 100.0f);
377 Object *ob = id_cast<Object *>(ptr->owner_id);
381 rna_Itasc_update(bmain, scene, ptr);
391static void rna_PoseChannel_active_constraint_set(
PointerRNA *ptr,
399static bConstraint *rna_PoseChannel_constraints_new(
402 Object *ob = id_cast<Object *>(
id);
411static void rna_PoseChannel_constraints_remove(
416 Object *ob = id_cast<Object *>(
id);
420 reports,
RPT_ERROR,
"Constraint '%s' not found in pose bone '%s'", con->name, pchan->name);
425 con_ptr->invalidate();
440static void rna_PoseChannel_constraints_move(
443 Object *ob = id_cast<Object *>(
id);
463 Object *ob = id_cast<Object *>(
id);
474bool rna_PoseChannel_constraints_override_apply(
Main *bmain,
483 "Unsupported RNA override operation on constraints collection");
494 opop->subitem_reference_name,
496 opop->subitem_reference_index));
500 &pchan_src->constraints, opop->subitem_local_name, name_offset, opop->subitem_local_index));
502 if (con_src ==
nullptr) {
522static int rna_PoseChannel_proxy_editable(
const PointerRNA * ,
const char ** )
528 Bone *bone = pchan->bone_get(*ob);
529 if (bone && (bone->layer & arm->layer_protected)) {
530 *r_info =
"Can't edit property of a proxy on a protected layer";
538static int rna_PoseChannel_location_editable(
const PointerRNA *ptr,
int index)
555static int rna_PoseChannel_scale_editable(
const PointerRNA *ptr,
int index)
572static int rna_PoseChannel_rotation_euler_editable(
const PointerRNA *ptr,
int index)
589static int rna_PoseChannel_rotation_4d_editable(
const PointerRNA *ptr,
int index)
625static void rna_PoseChannel_matrix_basis_get(
PointerRNA *ptr,
float *values)
628 Object *ob = id_cast<Object *>(ptr->owner_id);
629 BKE_pchan_to_mat4({pchan, pchan->bone_get(*ob)},
reinterpret_cast<float (*)[4]
>(values));
632static void rna_PoseChannel_matrix_basis_set(
PointerRNA *ptr,
const float *values)
639static void rna_PoseChannel_matrix_set(
PointerRNA *ptr,
const float *values)
642 Object *ob = id_cast<Object *>(ptr->owner_id);
646 nullptr, ob, pchan,
reinterpret_cast<const float (*)[4]
>(values), tmat);
659 if (ref_pchan !=
nullptr) {
666static void rna_PoseChannel_custom_shape_transform_set(
PointerRNA *ptr,
671 Object *ob = id_cast<Object *>(ptr->owner_id);
673 pchan->custom_tx = rna_PoseChannel_ensure_own_pchan(
674 ob, id_cast<Object *>(value.owner_id),
static_cast<bPoseChannel *
>(value.data));
680 Object *custom_shape =
static_cast<Object *
>(value.data);
684 pchan->custom =
nullptr;
697 pchan->custom = custom_shape;
708 ID *
id = ptr->owner_id;
716 Object *ob = id_cast<Object *>(
id);
717 bArmature *arm = id_cast<bArmature *>(ob->data);
751 prop,
"Custom Color Set",
"Color set is user-defined instead of a fixed theme color set");
760 prop,
"Colors",
"Copy of the colors associated with the group's color set");
766 {
IKSOLVER_ITASC,
"ITASC", 0,
"iTaSC",
"Multi constraint, stateful IK solver"},
767 {0,
nullptr, 0,
nullptr,
nullptr},
772 {
ITASC_SOLVER_DLS,
"DLS", 0,
"DLS",
"Damped Least Square with Numerical Filtering"},
773 {0,
nullptr, 0,
nullptr,
nullptr},
793 "rna_PoseChannel_active_constraint_get",
794 "rna_PoseChannel_active_constraint_set",
806 parm =
RNA_def_pointer(func,
"constraint",
"Constraint",
"",
"New constraint");
818 "Name of the new constraint. If empty, the name of the constraint type is used");
820 func =
RNA_def_function(srna,
"remove",
"rna_PoseChannel_constraints_remove");
825 parm =
RNA_def_pointer(func,
"constraint",
"Constraint",
"",
"Removed constraint");
833 func,
"from_index", -1, INT_MIN,
INT_MAX,
"From Index",
"Index to move", 0, 10000);
835 parm =
RNA_def_int(func,
"to_index", -1, INT_MIN,
INT_MAX,
"To Index",
"Target index", 0, 10000);
846 "Constraint to copy - may belong to a different object");
850 parm =
RNA_def_pointer(func,
"new_constraint",
"Constraint",
"",
"New constraint");
875 prop,
nullptr,
nullptr,
"rna_PoseChannel_constraints_override_apply");
941 "rna_PoseChannel_rotation_axis_angle_get",
942 "rna_PoseChannel_rotation_axis_angle_set",
947 prop,
"Axis-Angle Rotation",
"Angle of Rotation for Axis-Angle rotation representation");
970 "The kind of rotation to apply, values from other rotation modes are not used");
974 srna,
"convert_rotation_mode",
"rna_PoseChannel_convert_rotation_mode");
976 "Changes the rotation mode and converts all actions used by "
977 "that bone to match that new mode");
984 "The rotation mode to change to");
991 "Insert a key on every frame to ensure interpolation is preserved");
1003 prop,
"B-Bone Start Handle",
"Bone that serves as the start handle for the B-Bone curve");
1012 prop,
"B-Bone End Handle",
"Bone that serves as the end handle for the B-Bone curve");
1023 "4 matrix of the bone's location/rotation/scale channels (including "
1024 "animation and drivers) and the effect of bone constraints");
1032 "Alternative access to location/scale/rotation relative to the parent and own rest bone");
1034 prop,
"rna_PoseChannel_matrix_basis_get",
"rna_PoseChannel_matrix_basis_set",
nullptr);
1046 "4 matrix after constraints and drivers are applied, in "
1047 "the armature object space");
1124 prop,
"IK Linear Control",
"Apply channel size as IK constraint if stretching is enabled");
1225 prop,
"Custom Object",
"Object that defines custom display shape for this bone");
1228 prop,
nullptr,
"rna_Pose_custom_shape_set",
nullptr,
"rna_Pose_custom_shape_object_poll");
1241 prop,
"Custom Shape Translation",
"Adjust the location of the custom shape");
1248 prop,
"Custom Shape Rotation",
"Adjust the rotation of the custom shape");
1257 "The location and orientation of the Custom Shape Transform bone will be used for transform "
1258 "gizmos and for other transform operators in the 3D Viewport. When disabled, the 3D "
1259 "Viewport will still use the actual bone transform for these, even when the custom bone "
1260 "shape transform is overridden.");
1268 "Transform the bone as if it was a child of the Custom Shape Transform bone. This can be "
1269 "useful when combining shape-key and armature deformations.");
1276 prop,
"Scale to Bone Length",
"Scale the custom object by the bone length");
1300 "Custom Shape Transform",
1301 "Bone that defines the display transform of this custom shape");
1304 prop,
nullptr,
"rna_PoseChannel_custom_shape_transform_set",
nullptr,
nullptr);
1344 "Lock Rotation (4D Angle)",
1345 "Lock editing of 'angle' component of four-component rotations when transforming");
1356 "Lock Rotations (4D)",
1357 "Lock editing of four component rotations by components (instead of as Eulers)");
1380 "Stateless solver computing pose starting from current action and non-IK constraints"},
1385 "State-full solver running in real-time context and ignoring actions "
1386 "and non-IK constraints"},
1387 {0,
nullptr, 0,
nullptr,
nullptr},
1394 "The solver does not reiterate, not even on first frame (starts from rest pose)"},
1399 "The solver reiterates (converges) on the first frame but not on "
1400 "subsequent frame"},
1405 "The solver reiterates (converges) on all frames"},
1406 {0,
nullptr, 0,
nullptr,
nullptr},
1426 prop,
"Iterations",
"Maximum number of iterations for convergence in case of reiteration");
1438 prop,
"Translate Roots",
"Translate root (i.e. parentless) bones to the armature origin");
1452 "Defines if the solver is allowed to reiterate (converge until "
1453 "precision is met) on none, first or all frames");
1460 "Automatically determine the optimal number of steps for best "
1461 "performance/accuracy trade off");
1468 prop,
"Min Step",
"Lower bound for timestep in second in case of automatic substeps");
1475 prop,
"Max Step",
"Higher bound for timestep in second in case of automatic substeps");
1484 "Feedback coefficient for error correction, average response time is 1/feedback");
1497 prop,
"Solver",
"Solving method selection: automatic damping or manual damping");
1505 "Maximum damping coefficient when singular value is nearly 0 "
1506 "(higher values produce results with more stability, less reactivity)");
1514 "Singular value under which damping is progressively applied "
1515 "(higher values produce results with more stability, less reactivity)");
1545 srna,
"Pose",
"A collection of pose channels, including settings for animating bones");
1561 "rna_PoseBones_lookup_string",
1575 prop,
"rna_Pose_ikparam_get",
nullptr,
"rna_Pose_ikparam_typef",
nullptr);
1585 prop,
"X-Axis Mirror",
"Apply changes to matching bone on opposite side of X-Axis");
1595 "Apply relative transformations in X-mirror mode (not supported with Auto IK)");
1603 prop,
"Auto IK",
"Add temporary IK constraints while grabbing bones in Pose Mode");
Helper functions for animation to interact with the RNA system.
Blender kernel action and pose functionality.
#define STRNCPY_UTF8(dst, src)
#define BLI_STR_UTF8_MULTIPLICATION_SIGN
#define ID_IS_OVERRIDE_LIBRARY(_id)
Object is a sort of wrapper for general info.
Read Blender memory allocation and freeing.
#define RNA_TRANSLATION_PREC_DEFAULT
#define BLI_assert_unreachable()
#define BLI_assert_msg(a, msg)
std::string get_pose_bone_rna_path(const bPoseChannel &pose_bone)
void object_test_constraints(Main *bmain, Object *ob)
void constraint_dependency_tag_update(Main *bmain, Object *ob, bConstraint *con)
void constraint_update(Main *bmain, Object *ob)
void constraint_tag_update(Main *bmain, Object *ob, bConstraint *con)
void WM_main_add_notifier(uint type, void *reference)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable)
static void rna_def_pose_itasc(BlenderRNA *brna)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
char * STRNCPY(char(&dst)[N], const char *src)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void BKE_pose_tag_recalc(Main *bmain, bPose *pose) ATTR_NONNULL(1
struct bConstraint * BKE_constraint_add_for_pose(struct Object *ob, struct bPoseChannel *pchan, const char *name, eBConstraint_Types type)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, const int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_property_boolean_bitset_array_sdna(PropertyRNA *prop, const char *structname, const char *propname, const int64_t booleanbit, const int length)
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_override_funcs(PropertyRNA *prop, const char *diff, const char *store, const char *apply)
MINLINE void copy_v3_v3(float r[3], const float a[3])
const EnumPropertyItem rna_enum_constraint_type_items[]
void RNA_property_update_main(Main *bmain, Scene *scene, PointerRNA *ptr, PropertyRNA *prop)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
@ CONSTRAINT_TYPE_KINEMATIC
@ CONSTRAINT_TYPE_SPLINEIK
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine)
void convert_to_rotation_mode(bContext &C, ed::AnimTransformable &transformable, const eRotationModes to_mode, const bool bake)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
void RNA_def_property_multi_array(PropertyRNA *prop, int dimension, const int length[])
void RNA_def_struct_system_idprops_func(StructRNA *srna, const char *system_idproperties)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
const EnumPropertyItem rna_enum_object_rotation_mode_items[]
void RNA_define_lib_overridable(const bool make_overridable)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
static void rna_def_pose_channel(BlenderRNA *brna)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void rna_pointer_create_with_ancestors(const PointerRNA &parent, StructRNA *type, void *data, PointerRNA &r_ptr)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void BKE_pchan_to_mat4(bke::PChanBoneConst pchanbone, float r_chanmat[4][4])
static const EnumPropertyItem prop_iksolver_items[]
const EnumPropertyItem rna_enum_color_sets_items[]
void BIK_clear_data(struct bPose *pose)
void RNA_api_pose_channel(StructRNA *srna)
@ LIBOVERRIDE_OP_INSERT_AFTER
struct bConstraint * BKE_constraint_copy_for_pose(struct Object *ob, struct bPoseChannel *pchan, struct bConstraint *src)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void rna_def_animviz_common(StructRNA *srna)
const float rna_default_axis_angle[4]
void RNA_def_property_float_array_default(PropertyRNA *prop, const float *array)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
@ PROPOVERRIDE_LIBRARY_INSERTION
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
@ PROPOVERRIDE_NO_COMPARISON
void RNA_def_property_float_default(PropertyRNA *prop, float value)
void ED_armature_bone_rename(Main *bmain, bArmature *arm, const char *oldnamep, const char *newnamep)
static void rna_def_pose_ikparam(BlenderRNA *brna)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier_c_str, int type, int subtype)
void BKE_constraint_unique_name(struct bConstraint *con, ListBaseT< bConstraint > *list)
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
bool rna_ActionGroup_is_custom_colorset_get(PointerRNA *ptr)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
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 DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_report(ReportList *reports, eReportType type, const char *message)
static const EnumPropertyItem prop_solver_items[]
void BLI_insertlinkafter(ListBase *listbase, void *vprevlink, void *vnewlink) ATTR_NONNULL(1)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_api_pose(StructRNA *srna)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
bool BLI_listbase_move_index(ListBase *listbase, int from, int to) ATTR_NONNULL()
void BKE_pchan_apply_mat4(bPoseChannel *pchan, const float mat[4][4], bool use_compat)
struct bConstraint * BKE_constraint_duplicate_ex(struct bConstraint *src, int flag, bool do_extern)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
bool BKE_constraint_remove_ex(ListBaseT< bConstraint > *list, struct Object *ob, struct bConstraint *con)
struct bConstraint * BKE_constraints_active_get(ListBaseT< bConstraint > *list)
void RNA_def_property_enum_funcs(PropertyRNA *prop, const char *get, const char *set, const char *item)
void BKE_pose_update_constraint_flags(Object &pose_ob)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier_c_str, const char *call)
@ ITASC_INITIAL_REITERATION
@ ITASC_TRANSLATE_ROOT_BONES
void BKE_armature_mat_pose_to_bone_ex(Depsgraph *depsgraph, Object *ob, const bPoseChannel *pchan, const float inmat[4][4], float outmat[4][4])
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void rna_ActionGroup_colorset_set(PointerRNA *ptr, int value)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void BKE_rotMode_change_values(float quat[4], float eul[3], float axis[3], float *angle, eRotationModes oldMode, eRotationModes newMode)
void RNA_def_struct_idprops_func(StructRNA *srna, const char *idproperties)
void RNA_def_function_flag(FunctionRNA *func, FunctionFlag flag)
static void rna_def_pose_channel_constraints(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, const int default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
void void * BLI_listbase_string_or_index_find(const ListBase *listbase, const char *string, size_t string_offset, int index) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
bool BKE_pose_channel_in_IK_chain(Object *ob, bPoseChannel *pchan)
void rna_def_bone_curved_common(StructRNA *srna, bool is_posebone, bool is_editbone)
void RNA_def_property_editable_array_func(PropertyRNA *prop, const char *editable)
void rna_def_actionbone_group_common(StructRNA *srna, int update_flag, const char *update_cb)
void BIK_update_param(struct bPose *pose)
@ POSE_TRANSFORM_AROUND_CUSTOM_TX
@ POSE_TRANSFORM_AT_CUSTOM_TX
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
ID_Type GS(const char *name)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
static void rna_def_pose(BlenderRNA *brna)
@ PCHAN_DRAW_NO_CUSTOM_BONE_SIZE
void BKE_constraints_active_set(ListBaseT< bConstraint > *list, struct bConstraint *con)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PointerRNA RNA_pointer_create_with_parent(const PointerRNA &parent, StructRNA *type, void *data)
void DEG_relations_tag_update(Main *bmain)
void RNA_def_pose(BlenderRNA *brna)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void rna_def_motionpath_common(StructRNA *srna)
void action_group_colors_sync(bActionGroup *grp)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
MINLINE float len_v3v3(const float a[3], const float b[3]) ATTR_WARN_UNUSED_RESULT
void RNA_def_struct_name_property(StructRNA *srna, PropertyRNA *prop, const bool allow_replace)
MINLINE int clamp_i(int value, int min, int max)
bool BKE_id_is_in_global_main(ID *id)
void RNA_def_property_array(PropertyRNA *prop, int length)
const int rna_matrix_dimsize_4x4[]
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
bPoseChannel * BKE_pose_channel_find_name(const bPose *pose, const char *name)
void BKE_pose_ikparam_init(bPose *pose) ATTR_NONNULL(1)
@ CONSTRAINT_OVERRIDE_LIBRARY_LOCAL
IDProperty * system_properties