|
Blender
V2.59
|
#include <stdlib.h>#include <stddef.h>#include <string.h>#include "MEM_guardedalloc.h"#include "BLI_math.h"#include "BLI_blenlib.h"#include "BLI_dynstr.h"#include "BLI_utildefines.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_constraint_types.h"#include "DNA_scene_types.h"#include "DNA_object_types.h"#include "BKE_anim.h"#include "BKE_idprop.h"#include "BKE_action.h"#include "BKE_armature.h"#include "BKE_context.h"#include "BKE_constraint.h"#include "BKE_deform.h"#include "BKE_depsgraph.h"#include "BKE_fcurve.h"#include "BKE_modifier.h"#include "BKE_report.h"#include "RNA_access.h"#include "RNA_define.h"#include "WM_api.h"#include "WM_types.h"#include "ED_armature.h"#include "ED_keyframing.h"#include "ED_mesh.h"#include "ED_screen.h"#include "UI_interface.h"#include "UI_resources.h"#include "armature_intern.h"Go to the source code of this file.
Definition in file poseobject.c.
| static int armature_bone_layers_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 1873 of file poseobject.c.
References CTX_DATA_BEGIN, CTX_data_edit_object(), CTX_DATA_END, Object::data, NC_OBJECT, ND_POSE, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get_array(), RNA_boolean_set_array(), RNA_EditBone, RNA_pointer_create(), and WM_event_add_notifier().
Referenced by ARMATURE_OT_bone_layers().
| static int armature_bone_layers_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| wmEvent * | evt | ||
| ) | [static] |
Definition at line 1848 of file poseobject.c.
References CTX_DATA_BEGIN, CTX_DATA_END, wmOperator::ptr, RNA_boolean_set_array(), and WM_operator_props_popup().
Referenced by ARMATURE_OT_bone_layers().
| void ARMATURE_OT_armature_layers | ( | wmOperatorType * | ot | ) |
Definition at line 1751 of file poseobject.c.
References wmOperatorType::description, ED_operator_editarmature(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_armature_layers_exec(), pose_armature_layers_invoke(), RNA_def_boolean_layer_member(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| void ARMATURE_OT_bone_layers | ( | wmOperatorType * | ot | ) |
Definition at line 1898 of file poseobject.c.
References armature_bone_layers_exec(), armature_bone_layers_invoke(), wmOperatorType::description, ED_operator_editarmature(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean_layer_member(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| void ARMATURE_OT_layers_show_all | ( | wmOperatorType * | ot | ) |
Definition at line 1666 of file poseobject.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_armature_layers_showall_exec(), pose_armature_layers_showall_poll(), wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
Definition at line 130 of file poseobject.c.
References BKE_report(), CTX_wm_reports(), Object::id, ID::lib, Object::mode, NC_SCENE, ND_MODE, NS_MODE_POSE, NULL, OB_ARMATURE, OB_MODE_POSE, Base::object, Object::restore_mode, RPT_WARNING, Object::type, and WM_event_add_notifier().
Referenced by posemode_exec(), and tree_element_active_pose().
Definition at line 156 of file poseobject.c.
References Object::mode, NC_SCENE, ND_MODE, NS_MODE_OBJECT, NULL, OB_MODE_POSE, Base::object, Object::restore_mode, and WM_event_add_notifier().
Referenced by posemode_exec(), and tree_element_active_pose().
Definition at line 95 of file poseobject.c.
References modifiers_isDeformedByArmature(), NULL, and object_pose_context().
Referenced by apply_armature_pose2bones_exec(), ED_operator_posemode(), ed_screen_context(), get_poselib_object(), pose_armature_layers_exec(), pose_armature_layers_invoke(), pose_armature_layers_showall_exec(), pose_autoside_names_exec(), pose_bone_flip_active_exec(), pose_bone_layers_exec(), pose_calculate_paths_exec(), pose_clear_paths_exec(), pose_clear_transform_generic_exec(), pose_constraint_add_exec(), pose_constraints_clear_exec(), pose_copy_exec(), pose_flip_names_exec(), pose_flip_quats_exec(), pose_group_add_exec(), pose_group_assign_exec(), pose_group_deselect_exec(), pose_group_remove_exec(), pose_group_select_exec(), pose_group_unassign_exec(), pose_groups_menu_invoke(), pose_hide_exec(), pose_ik_add_invoke(), pose_ik_clear_exec(), pose_paste_exec(), pose_propagate_exec(), pose_reveal_exec(), pose_select_constraint_target_exec(), pose_select_grouped_exec(), pose_select_hierarchy_exec(), pose_select_parent_exec(), pose_slide_init(), pose_visual_transform_apply_exec(), and poselib_rename_exec().
| int ED_pose_channel_in_IK_chain | ( | Object * | ob, |
| bPoseChannel * | pchan | ||
| ) |
Definition at line 220 of file poseobject.c.
References pose_channel_in_IK_chain().
Referenced by draw_pose_dofs().
| static void ED_pose_clear_paths | ( | Object * | ob | ) | [static] |
Definition at line 300 of file poseobject.c.
References animviz_free_motionpath(), bPose::avs, bPoseChannel::bone, BONE_SELECTED, bPose::chanbase, ELEM, ListBase::first, Bone::flag, MOTIONPATH_BAKE_HAS_PATHS, bPoseChannel::mpath, bPoseChannel::next, NULL, bAnimVizSettings::path_bakeflag, tPoseLib_Backup::pchan, and Object::pose.
Referenced by pose_clear_paths_exec().
Definition at line 233 of file poseobject.c.
References animviz_calc_motionpaths(), animviz_get_object_motionpaths(), ANIMVIZ_RECALC_PATHS, bPose::avs, BLI_freelistN(), NULL, Object::pose, and bAnimVizSettings::recalc.
Referenced by autokeyframe_pose_cb_func(), pose_calculate_paths_exec(), and pose_clear_transform_generic_exec().
| void free_posebuf | ( | void | ) |
Definition at line 928 of file poseobject.c.
References BLI_freelistN(), bPose::chanbase, ListBase::first, IDP_FreeProperty(), MEM_freeN(), bPoseChannel::next, NULL, tPoseLib_Backup::pchan, and bPoseChannel::prop.
Referenced by pose_copy_exec(), and WM_exit().
| static int object_pose_context | ( | Object * | ob | ) | [static] |
Definition at line 81 of file poseobject.c.
References Object::mode, OB_ARMATURE, OB_MODE_POSE, Object::pose, and Object::type.
Referenced by ED_object_pose_armature().
| static int pose_armature_layers_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 1708 of file poseobject.c.
References CTX_data_active_object(), Object::data, ED_object_pose_armature(), NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get_array(), RNA_boolean_set_array(), RNA_id_pointer_create(), and WM_event_add_notifier().
Referenced by ARMATURE_OT_armature_layers(), and POSE_OT_armature_layers().
| static int pose_armature_layers_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| wmEvent * | evt | ||
| ) | [static] |
Definition at line 1687 of file poseobject.c.
References CTX_data_active_object(), Object::data, ED_object_pose_armature(), if(), NULL, OPERATOR_CANCELLED, wmOperator::ptr, RNA_boolean_get_array(), RNA_boolean_set_array(), RNA_id_pointer_create(), and WM_operator_props_popup().
Referenced by ARMATURE_OT_armature_layers(), and POSE_OT_armature_layers().
| static int pose_armature_layers_showall_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 1635 of file poseobject.c.
References CTX_data_active_object(), Object::data, ED_object_pose_armature(), i, bArmature::id, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_boolean_set_array(), RNA_id_pointer_create(), and WM_event_add_notifier().
Referenced by ARMATURE_OT_layers_show_all().
| static int pose_armature_layers_showall_poll | ( | bContext * | C | ) | [static] |
Definition at line 1629 of file poseobject.c.
References ED_operator_editarmature(), and ED_operator_posemode().
Referenced by ARMATURE_OT_layers_show_all().
| static int pose_autoside_names_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 1571 of file poseobject.c.
References BLI_strncpy(), bPoseChannel::bone, bone_autoside_name(), CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, DAG_id_tag_update(), Object::data, ED_armature_bone_rename(), ED_object_pose_armature(), ELEM, Bone::head, Object::id, bPoseChannel::name, NC_OBJECT, ND_POSE, NULL, OB_RECALC_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, wmOperator::ptr, RNA_enum_get(), Bone::tail, and WM_event_add_notifier().
Referenced by POSE_OT_autoside_names().
| static int pose_bone_flip_active_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 670 of file poseobject.c.
References bArmature::act_bone, bPoseChannel::bone, BONE_SELECTED, CTX_data_active_object(), DAG_id_tag_update(), Object::data, ED_object_pose_armature(), ED_vgroup_select_by_name(), Bone::flag, flip_side_name(), get_pose_channel(), Object::id, MAXBONENAME, Object::mode, Bone::name, NC_OBJECT, ND_BONE_SELECT, OB_MODE_POSE, OB_MODE_WEIGHT_PAINT, OB_RECALC_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, TRUE, and WM_event_add_notifier().
Referenced by POSE_OT_select_flip_active().
| static int pose_bone_layers_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 1798 of file poseobject.c.
References bPoseChannel::bone, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, Object::data, ED_object_pose_armature(), NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_Bone, RNA_boolean_get_array(), RNA_boolean_set_array(), RNA_pointer_create(), and WM_event_add_notifier().
Referenced by POSE_OT_bone_layers().
| static int pose_bone_layers_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| wmEvent * | evt | ||
| ) | [static] |
Definition at line 1773 of file poseobject.c.
References bPoseChannel::bone, CTX_DATA_BEGIN, CTX_DATA_END, Bone::layer, wmOperator::ptr, RNA_boolean_set_array(), and WM_operator_props_popup().
Referenced by POSE_OT_bone_layers().
| static int pose_calculate_paths_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 249 of file poseobject.c.
References animviz_verify_motionpaths(), CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_data_scene(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), ED_pose_recalculate_paths(), ELEM, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_paths_calculate().
| static int pose_channel_in_IK_chain | ( | Object * | ob, |
| bPoseChannel * | pchan, | ||
| int | level | ||
| ) | [static] |
Definition at line 196 of file poseobject.c.
References bPoseChannel::bone, Bone::childbase, CONSTRAINT_IK_AUTO, CONSTRAINT_TYPE_KINEMATIC, bPoseChannel::constraints, bConstraint::data, ListBase::first, bKinematicConstraint::flag, get_pose_channel(), Bone::name, Bone::next, bConstraint::next, Object::pose, bKinematicConstraint::rootbone, and bConstraint::type.
Referenced by ED_pose_channel_in_IK_chain().
| static int pose_clear_paths_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 326 of file poseobject.c.
References CTX_data_active_object(), CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), ED_pose_clear_paths(), ELEM, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_paths_clear().
| static int pose_copy_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 950 of file poseobject.c.
References BKE_report(), copy_pose(), CTX_data_active_object(), ED_object_pose_armature(), ELEM, free_posebuf(), NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, wmOperator::reports, RPT_ERROR, and set_pose_keys().
Referenced by POSE_OT_copy().
| static int pose_flip_names_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 1526 of file poseobject.c.
References CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, DAG_id_tag_update(), Object::data, ED_armature_bone_rename(), ED_object_pose_armature(), ELEM, flip_side_name(), Object::id, bPoseChannel::name, NC_OBJECT, ND_POSE, NULL, OB_RECALC_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, TRUE, and WM_event_add_notifier().
Referenced by POSE_OT_flip_names().
| static int pose_flip_quats_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 1919 of file poseobject.c.
References ANIM_apply_keyingset(), ANIM_builtin_keyingset_get_named(), ANIM_relative_keyingset_add_source(), autokeyframe_cfra_can_key(), BLI_freelistN(), bPoseChannel::bone, BONE_UNKEYED, CFRA, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), DAG_id_tag_update(), ED_object_pose_armature(), Bone::flag, Object::id, MODIFYKEY_MODE_INSERT, NC_OBJECT, ND_TRANSFORM, negate_v4(), NULL, OB_RECALC_DATA, OPERATOR_FINISHED, bPoseChannel::quat, RNA_PoseBone, ROT_MODE_QUAT, bPoseChannel::rotmode, and WM_event_add_notifier().
Referenced by POSE_OT_quaternions_flip().
| static int pose_group_add_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 1178 of file poseobject.c.
References CTX_data_active_object(), CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, pose_add_group(), RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_group_add().
| static int pose_group_assign_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 1313 of file poseobject.c.
References bPose::active_group, bPoseChannel::agrp_index, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), ELEM, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, pose_add_group(), wmOperator::ptr, RNA_int_get(), RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_group_assign().
| static int pose_group_deselect_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 1486 of file poseobject.c.
References CTX_data_active_object(), CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), ELEM, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, pose_group_select(), RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_group_deselect().
| static int pose_group_remove_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 1218 of file poseobject.c.
References CTX_data_active_object(), CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, pose_remove_group(), RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_group_remove().
Definition at line 1428 of file poseobject.c.
References bPose::active_group, bPoseChannel::agrp_index, bPoseChannel::bone, BONE_SELECTED, BONE_UNSELECTABLE, CTX_DATA_BEGIN, CTX_DATA_END, Bone::flag, and Object::pose.
Referenced by pose_group_deselect_exec(), and pose_group_select_exec().
| static int pose_group_select_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 1448 of file poseobject.c.
References CTX_data_active_object(), CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), ELEM, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, pose_group_select(), RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_group_select().
| static int pose_group_unassign_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 1377 of file poseobject.c.
References bPoseChannel::agrp_index, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), ELEM, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, RNA_Object, SPACE_BUTS, ScrArea::spacetype, and WM_event_add_notifier().
Referenced by POSE_OT_group_unassign().
| static int pose_groups_menu_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| wmEvent * | UNUSEDevt | ||
| ) | [static] |
Definition at line 1260 of file poseobject.c.
References bPose::active_group, bPose::agroups, CTX_data_active_object(), CTX_data_pointer_get_type(), CTX_wm_area(), PointerRNA::data, ED_object_pose_armature(), ELEM, wmOperatorType::exec, ListBase::first, i, wmOperator::idname, wmOperatorType::name, bActionGroup::name, bActionGroup::next, NULL, OPERATOR_CANCELLED, Object::pose, wmOperator::ptr, RNA_int_set(), RNA_Object, SPACE_BUTS, ScrArea::spacetype, wmOperator::type, uiItemIntO(), uiItemS(), uiPupMenuBegin(), uiPupMenuEnd(), and uiPupMenuLayout().
Referenced by POSE_OT_group_assign().
| void POSE_OT_armature_layers | ( | wmOperatorType * | ot | ) |
Definition at line 1732 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_armature_layers_exec(), pose_armature_layers_invoke(), RNA_def_boolean_layer_member(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| void POSE_OT_autoside_names | ( | wmOperatorType * | ot | ) |
Definition at line 1601 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_autoside_names_exec(), wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_armature().
| void POSE_OT_bone_layers | ( | wmOperatorType * | ot | ) |
Definition at line 1826 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_bone_layers_exec(), pose_bone_layers_invoke(), RNA_def_boolean_layer_member(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| void POSE_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 971 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, wmOperatorType::poll, and pose_copy_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_flip_names | ( | wmOperatorType * | ot | ) |
Definition at line 1554 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_flip_names_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_group_add | ( | wmOperatorType * | ot | ) |
Definition at line 1202 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_group_add_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_group_assign | ( | wmOperatorType * | ot | ) |
Definition at line 1357 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_group_assign_exec(), pose_groups_menu_invoke(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| void POSE_OT_group_deselect | ( | wmOperatorType * | ot | ) |
Definition at line 1509 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_group_deselect_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_group_remove | ( | wmOperatorType * | ot | ) |
Definition at line 1242 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_group_remove_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_group_select | ( | wmOperatorType * | ot | ) |
Definition at line 1471 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_group_select_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_group_unassign | ( | wmOperatorType * | ot | ) |
Definition at line 1413 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_group_unassign_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_paste | ( | wmOperatorType * | ot | ) |
Definition at line 1156 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_paste_exec(), RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| void POSE_OT_paths_calculate | ( | wmOperatorType * | ot | ) |
Definition at line 282 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_calculate_paths_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_paths_clear | ( | wmOperatorType * | ot | ) |
Definition at line 350 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_clear_paths_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_quaternions_flip | ( | wmOperatorType * | ot | ) |
Definition at line 1966 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_flip_quats_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_select_constraint_target | ( | wmOperatorType * | ot | ) |
Definition at line 410 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_select_constraint_target_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_select_flip_active | ( | wmOperatorType * | ot | ) |
Definition at line 706 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and pose_bone_flip_active_exec().
Referenced by ED_operatortypes_armature().
| void POSE_OT_select_grouped | ( | wmOperatorType * | ot | ) |
Definition at line 640 of file poseobject.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, FALSE, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_select_grouped_exec(), wmOperatorType::prop, prop_select_grouped_types, RNA_def_boolean(), RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_armature().
| void POSE_OT_select_hierarchy | ( | wmOperatorType * | ot | ) |
Definition at line 481 of file poseobject.c.
References BONE_SELECT_CHILD, BONE_SELECT_PARENT, wmOperatorType::description, direction_items, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, pose_select_hierarchy_exec(), wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| static int pose_paste_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 988 of file poseobject.c.
References ANIM_apply_keyingset(), ANIM_get_keyingset_for_autokeying(), ANIM_relative_keyingset_add_source(), autokeyframe_cfra_can_key(), axis_angle_to_eulO(), axis_angle_to_quat(), BKE_report(), BLI_freelistN(), BLI_strncpy(), bPoseChannel::bone, BONE_SELECTED, BONE_UNKEYED, CFRA, bPose::chanbase, CTX_data_active_object(), CTX_data_scene(), DAG_id_tag_update(), ED_object_pose_armature(), ELEM, bPoseChannel::eul, eul_to_quat(), EULER_ORDER_DEFAULT, eulO_to_axis_angle(), eulO_to_quat(), ListBase::first, Bone::flag, bPoseChannel::flag, flip_side_name(), get_pose_channel(), Object::id, IDP_CopyProperty(), IDP_FreeProperty(), bPoseChannel::loc, MEM_freeN(), MODIFYKEY_MODE_INSERT, bPoseChannel::name, NC_OBJECT, ND_POSE, bPoseChannel::next, normalize_qt(), NULL, OB_RECALC_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, tPoseLib_Backup::pchan, Object::pose, POSE_KEY, bPoseChannel::prop, wmOperator::ptr, bPoseChannel::quat, quat_to_axis_angle(), quat_to_eul(), quat_to_eulO(), QUATCOPY, wmOperator::reports, RNA_boolean_get(), RNA_PoseBone, ROT_MODE_AXISANGLE, bPoseChannel::rotAngle, bPoseChannel::rotAxis, bPoseChannel::rotmode, RPT_ERROR, bPoseChannel::size, VECCOPY, and WM_event_add_notifier().
Referenced by POSE_OT_paste().
| static int pose_select_constraint_target_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 367 of file poseobject.c.
References bPoseChannel::bone, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, BONE_UNSELECTABLE, constraint_get_typeinfo(), bPoseChannel::constraints, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, ED_object_pose_armature(), ListBase::first, Bone::flag, bConstraintTypeInfo::flush_constraint_targets, bConstraintTypeInfo::get_constraint_targets, get_pose_channel(), NC_OBJECT, ND_BONE_SELECT, bConstraint::next, bConstraintTarget::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, bConstraintTarget::subtarget, bConstraintTarget::tar, and WM_event_add_notifier().
Referenced by POSE_OT_select_constraint_target().
| static int pose_select_grouped_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 608 of file poseobject.c.
References CTX_data_active_object(), ED_object_pose_armature(), ELEM, NC_OBJECT, ND_POSE, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Object::pose, pose_select_same_group(), pose_select_same_layer(), wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), and WM_event_add_notifier().
Referenced by POSE_OT_select_grouped().
| static int pose_select_hierarchy_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 427 of file poseobject.c.
References bArmature::act_bone, bPoseChannel::bone, BONE_SELECT_PARENT, BONE_SELECTED, BONE_UNSELECTABLE, bPoseChannel::child, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, Object::data, ED_object_pose_armature(), Bone::flag, NC_OBJECT, ND_BONE_SELECT, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, bPoseChannel::parent, PBONE_VISIBLE, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), and WM_event_add_notifier().
Referenced by POSE_OT_select_hierarchy().
Definition at line 509 of file poseobject.c.
References bPoseChannel::agrp_index, BLI_countlist(), bPoseChannel::bone, BONE_SELECTED, BONE_UNSELECTABLE, CTX_DATA_BEGIN, CTX_DATA_END, Object::data, ELEM3, Bone::flag, MEM_callocN(), MEM_freeN(), NULL, and Object::pose.
Referenced by pose_select_grouped_exec().
Definition at line 568 of file poseobject.c.
References bPoseChannel::bone, BONE_SELECTED, BONE_UNSELECTABLE, CTX_DATA_BEGIN, CTX_DATA_END, Object::data, ELEM3, Bone::flag, Bone::layer, NULL, and Object::pose.
Referenced by pose_select_grouped_exec().
| static void set_pose_keys | ( | Object * | ob | ) | [static] |
Definition at line 113 of file poseobject.c.
References bPoseChannel::bone, BONE_SELECTED, bPose::chanbase, Object::data, ListBase::first, Bone::flag, bPoseChannel::flag, Bone::layer, bArmature::layer, bPoseChannel::next, Object::pose, and POSE_KEY.
Referenced by pose_copy_exec().
Definition at line 926 of file poseobject.c.