53 [scene_cow, object_cow, pchan_index](blender::Depsgraph *depsgraph) {
54 BKE_pose_constraints_evaluate(
55 depsgraph, scene_cow, object_cow, pchan_index);
65 if (rootchan ==
nullptr) {
85 [scene_cow, object_cow, rootchan_index](blender::Depsgraph *depsgraph) {
86 BKE_pose_iktree_evaluate(depsgraph, scene_cow, object_cow, rootchan_index);
117 [scene_cow, object_cow, rootchan_index](blender::Depsgraph *depsgraph) {
118 BKE_pose_splineik_evaluate(
119 depsgraph, scene_cow, object_cow, rootchan_index);
151 if (
object->pose !=
nullptr) {
180 [scene_cow, object_cow](blender::Depsgraph *depsgraph) {
181 BKE_pose_eval_init(depsgraph, scene_cow, object_cow);
188 [scene_cow, object_cow](blender::Depsgraph *depsgraph) {
189 BKE_pose_eval_init_ik(depsgraph, scene_cow, object_cow);
195 [scene_cow, object_cow](blender::Depsgraph *depsgraph) {
196 BKE_pose_eval_cleanup(depsgraph, scene_cow, object_cow);
203 [object_cow](blender::Depsgraph *depsgraph) { BKE_pose_eval_done(depsgraph, object_cow); });
222 [scene_cow, object_cow, pchan_index](blender::Depsgraph *depsgraph) {
223 BKE_pose_eval_bone(depsgraph, scene_cow, object_cow, pchan_index);
233 [object_cow, pchan_index](blender::Depsgraph *depsgraph) {
234 BKE_pose_bone_done(depsgraph, object_cow, pchan_index);
243 [object_cow, pchan_index](blender::Depsgraph *depsgraph) {
244 BKE_pose_eval_bbone_segments(
245 depsgraph, object_cow, pchan_index);
252 bool add_idprops_operation =
false;
253 if (pchan.
prop !=
nullptr) {
255 add_idprops_operation =
true;
259 add_idprops_operation =
true;
261 if (add_idprops_operation) {
294 if (pchan.
custom !=
nullptr) {
Blender kernel action and pose functionality.
Object is a sort of wrapper for general info.
virtual bool check_pchan_has_bbone(const Object *object, const bPoseChannel *pchan)
virtual void build_pose_constraints(Object *object, bPoseChannel *pchan, int pchan_index)
virtual void build_object(int base_index, Object *object, eDepsNode_LinkedState_Type linked_state, bool is_visible)
OperationNode * add_operation_node(ComponentNode *comp_node, OperationCode opcode, const DepsEvalOperationCb &op=nullptr, const char *name="", int name_tag=-1)
static void constraint_walk(bConstraint *constraint, ID **idpoin, bool is_reference, void *user_data)
virtual void build_armature(bArmature *armature)
T * get_cow_datablock(const T *orig) const
virtual void build_ik_pose(Object *object, bPoseChannel *pchan, bConstraint *con)
virtual void build_rig(Object *object)
virtual void build_splineik_pose(Object *object, bPoseChannel *pchan, bConstraint *con)
virtual void build_idproperties(IDProperty *id_property)
bool has_operation_node(ID *id, NodeType comp_type, const char *comp_name, OperationCode opcode, const char *name="", int name_tag=-1)
@ DEG_ID_LINKED_INDIRECTLY
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void BKE_pose_rebuild(Main *bmain, Object *ob, bArmature *arm, bool do_id_user)
@ POSE_CONSTRAINTS_NEED_UPDATE_FLAGS
@ CONSTRAINT_TYPE_KINEMATIC
@ CONSTRAINT_TYPE_SPLINEIK
void BKE_pose_channels_hash_ensure(bPose *pose) ATTR_NONNULL(1)
void BKE_pose_ensure_bone_indices(const Object &pose_object)
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
BMesh const char void * data
void BKE_pose_update_constraint_flags(Object &pose_ob)
bPoseChannel * BKE_armature_splineik_solver_find_root(bPoseChannel *pchan, bSplineIKConstraint *data)
void BKE_constraints_id_loop(ListBaseT< bConstraint > *list, ConstraintIDFunc func, const int flag, void *userdata)
bPoseChannel * BKE_armature_ik_solver_find_root(bPoseChannel *pchan, bKinematicConstraint *data)
ListBaseT< struct bConstraint > constraints
IDProperty * system_properties