|
Blender
V2.93
|
#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_dlrbTree.h"#include "BLI_math.h"#include "BLT_translation.h"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BKE_fcurve.h"#include "BKE_nla.h"#include "BKE_context.h"#include "BKE_layer.h"#include "BKE_object.h"#include "BKE_report.h"#include "BKE_unit.h"#include "RNA_access.h"#include "RNA_define.h"#include "WM_api.h"#include "WM_types.h"#include "UI_interface.h"#include "ED_armature.h"#include "ED_keyframes_draw.h"#include "ED_markers.h"#include "ED_numinput.h"#include "ED_screen.h"#include "armature_intern.h"Go to the source code of this file.
Classes | |
| struct | tPoseSlideOp |
| struct | tPoseSlideObject |
| union | tPosePropagate_ModeData |
Typedefs | |
| typedef struct tPoseSlideOp | tPoseSlideOp |
| typedef struct tPoseSlideObject | tPoseSlideObject |
| typedef enum ePoseSlide_Modes | ePoseSlide_Modes |
| typedef enum ePoseSlide_Channels | ePoseSlide_Channels |
| typedef enum ePoseSlide_AxisLock | ePoseSlide_AxisLock |
| typedef enum ePosePropagate_Termination | ePosePropagate_Termination |
| typedef union tPosePropagate_ModeData | tPosePropagate_ModeData |
Enumerations | |
| enum | ePoseSlide_Modes { POSESLIDE_PUSH = 0 , POSESLIDE_RELAX , POSESLIDE_BREAKDOWN , POSESLIDE_PUSH_REST , POSESLIDE_RELAX_REST } |
| enum | ePoseSlide_Channels { PS_TFM_ALL = 0 , PS_TFM_LOC , PS_TFM_ROT , PS_TFM_SIZE , PS_TFM_BBONE_SHAPE , PS_TFM_PROPS } |
| enum | ePoseSlide_AxisLock { PS_LOCK_X = (1 << 0) , PS_LOCK_Y = (1 << 1) , PS_LOCK_Z = (1 << 2) } |
| enum | ePosePropagate_Termination { POSE_PROPAGATE_SMART_HOLDS = 0 , POSE_PROPAGATE_LAST_KEY , POSE_PROPAGATE_NEXT_KEY , POSE_PROPAGATE_BEFORE_FRAME , POSE_PROPAGATE_BEFORE_END , POSE_PROPAGATE_SELECTED_KEYS , POSE_PROPAGATE_SELECTED_MARKERS } |
Variables | |
| static const EnumPropertyItem | prop_channels_types [] |
| static const EnumPropertyItem | prop_axis_lock_types [] |
| typedef enum ePosePropagate_Termination ePosePropagate_Termination |
| typedef enum ePoseSlide_AxisLock ePoseSlide_AxisLock |
| typedef enum ePoseSlide_Channels ePoseSlide_Channels |
| typedef enum ePoseSlide_Modes ePoseSlide_Modes |
| typedef union tPosePropagate_ModeData tPosePropagate_ModeData |
| typedef struct tPoseSlideObject tPoseSlideObject |
| typedef struct tPoseSlideOp tPoseSlideOp |
| Enumerator | |
|---|---|
| POSE_PROPAGATE_SMART_HOLDS | |
| POSE_PROPAGATE_LAST_KEY | |
| POSE_PROPAGATE_NEXT_KEY | |
| POSE_PROPAGATE_BEFORE_FRAME | |
| POSE_PROPAGATE_BEFORE_END | |
| POSE_PROPAGATE_SELECTED_KEYS | |
| POSE_PROPAGATE_SELECTED_MARKERS | |
Definition at line 1598 of file pose_slide.c.
| enum ePoseSlide_AxisLock |
| Enumerator | |
|---|---|
| PS_LOCK_X | |
| PS_LOCK_Y | |
| PS_LOCK_Z | |
Definition at line 172 of file pose_slide.c.
| enum ePoseSlide_Channels |
| Enumerator | |
|---|---|
| PS_TFM_ALL | |
| PS_TFM_LOC | |
| PS_TFM_ROT | |
| PS_TFM_SIZE | |
| PS_TFM_BBONE_SHAPE | |
| PS_TFM_PROPS | |
Definition at line 144 of file pose_slide.c.
| enum ePoseSlide_Modes |
| Enumerator | |
|---|---|
| POSESLIDE_PUSH | |
| POSESLIDE_RELAX | |
| POSESLIDE_BREAKDOWN | |
| POSESLIDE_PUSH_REST | |
| POSESLIDE_RELAX_REST | |
Definition at line 135 of file pose_slide.c.
|
static |
Although this lookup is not ideal, we won't be dealing with a lot of objects at a given time. But if it comes to that we can instead store prev/next frame in the tPChanFCurveLink.
Definition at line 307 of file pose_slide.c.
References tPoseSlideObject::nextFrameF, tPoseSlideObject::ob, tPoseSlideOp::ob_data_array, tPoseSlideOp::objects_len, and tPoseSlideObject::prevFrameF.
Referenced by pose_slide_apply_quat(), and pose_slide_apply_val().
| void POSE_OT_breakdown | ( | wmOperatorType * | ot | ) |
Definition at line 1573 of file pose_slide.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_slide_breakdown_exec(), pose_slide_breakdown_invoke(), pose_slide_cancel(), pose_slide_modal(), and pose_slide_opdef_properties().
Referenced by ED_operatortypes_armature().
| void POSE_OT_propagate | ( | wmOperatorType * | ot | ) |
Definition at line 1940 of file pose_slide.c.
References wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, POSE_PROPAGATE_BEFORE_END, POSE_PROPAGATE_BEFORE_FRAME, pose_propagate_exec(), POSE_PROPAGATE_LAST_KEY, POSE_PROPAGATE_NEXT_KEY, POSE_PROPAGATE_SELECTED_KEYS, POSE_PROPAGATE_SELECTED_MARKERS, POSE_PROPAGATE_SMART_HOLDS, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
Referenced by ED_operatortypes_armature().
| void POSE_OT_push | ( | wmOperatorType * | ot | ) |
Definition at line 1334 of file pose_slide.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_slide_cancel(), pose_slide_modal(), pose_slide_opdef_properties(), pose_slide_push_exec(), and pose_slide_push_invoke().
Referenced by ED_operatortypes_armature().
| void POSE_OT_push_rest | ( | wmOperatorType * | ot | ) |
Definition at line 1453 of file pose_slide.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_slide_cancel(), pose_slide_modal(), pose_slide_opdef_properties(), pose_slide_push_rest_exec(), and pose_slide_push_rest_invoke().
Referenced by ED_operatortypes_armature().
| void POSE_OT_relax | ( | wmOperatorType * | ot | ) |
Definition at line 1394 of file pose_slide.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_slide_cancel(), pose_slide_modal(), pose_slide_opdef_properties(), pose_slide_relax_exec(), and pose_slide_relax_invoke().
Referenced by ED_operatortypes_armature().
| void POSE_OT_relax_rest | ( | wmOperatorType * | ot | ) |
Definition at line 1513 of file pose_slide.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_posemode(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, pose_slide_cancel(), pose_slide_modal(), pose_slide_opdef_properties(), pose_slide_relax_rest_exec(), and pose_slide_relax_rest_invoke().
Referenced by ED_operatortypes_armature().
|
static |
Definition at line 1871 of file pose_slide.c.
References BKE_report(), BLI_freelistN(), BLI_listbase_is_empty(), C, CFRA, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), LinkData::data, ED_markers_make_cfra_list(), tPosePropagate_ModeData::end_frame, tPChanFCurveLink::fcurves, ListBase::first, FOREACH_OBJECT_IN_MODE_BEGIN, FOREACH_OBJECT_IN_MODE_END, Scene::markers, tPChanFCurveLink::next, LinkData::next, NULL, tPChanFCurveLink::ob, OB_ARMATURE, OB_MODE_POSE, OPERATOR_CANCELLED, OPERATOR_FINISHED, pose_propagate_fcurve(), pose_propagate_get_boneHoldEndFrame(), POSE_PROPAGATE_SELECTED_MARKERS, POSE_PROPAGATE_SMART_HOLDS, poseAnim_mapping_free(), poseAnim_mapping_get(), poseAnim_mapping_refresh(), wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_float_get(), RPT_ERROR, scene, tPosePropagate_ModeData::sel_markers, and SELECT.
Referenced by POSE_OT_propagate().
|
static |
Definition at line 1770 of file pose_slide.c.
References FCurve::bezt, BEZT_ISSEL_ANY, BKE_fcurve_bezt_binarysearch_index(), CfraElem::cfra, ELEM, tPosePropagate_ModeData::end_frame, BezTriple::f2, ListBase::first, CfraElem::next, NULL, POSE_PROPAGATE_BEFORE_FRAME, pose_propagate_get_refVal(), POSE_PROPAGATE_LAST_KEY, POSE_PROPAGATE_NEXT_KEY, POSE_PROPAGATE_SELECTED_KEYS, POSE_PROPAGATE_SELECTED_MARKERS, POSE_PROPAGATE_SMART_HOLDS, wmOperator::ptr, RNA_enum_get(), round_fl_to_int(), tPosePropagate_ModeData::sel_markers, SELECT, FCurve::totvert, and BezTriple::vec.
Referenced by pose_propagate_exec().
|
static |
Definition at line 1633 of file pose_slide.c.
References ACTKEYBLOCK_FLAG_STATIC_HOLD, actkeyblock_get_valid_hold(), Object::adt, BLI_dlrbTree_free(), BLI_dlrbTree_init(), BLI_dlrbTree_search_exact(), BLI_dlrbTree_search_next(), BLI_dlrbTree_search_prev(), ActKeyColumn::cfra, compare_ak_cfraPtr(), LinkData::data, fcurve_to_keylist(), tPChanFCurveLink::fcurves, ListBase::first, ActKeyColumn::next, LinkData::next, NULL, tPChanFCurveLink::ob, and ActKeyColumn::totblock.
Referenced by pose_propagate_exec().
Definition at line 1712 of file pose_slide.c.
References FCurve::array_index, float(), Object::id, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_INT, ptr, RNA_id_pointer_create(), FCurve::rna_path, RNA_path_resolve_property(), RNA_property_array_check(), RNA_property_array_length(), RNA_property_boolean_get(), RNA_property_boolean_get_index(), RNA_property_enum_get(), RNA_property_float_get(), RNA_property_float_get_index(), RNA_property_int_get(), RNA_property_int_get_index(), and RNA_property_type().
Referenced by pose_propagate_fcurve().
|
static |
Definition at line 698 of file pose_slide.c.
References Object::adt, BKE_nla_tweakedit_remap(), C, tPoseSlideOp::channels, ELEM, bPoseChannel::eul, ListBase::first, bPoseChannel::flag, bPoseChannel::loc, tPChanFCurveLink::next, tPoseSlideOp::nextFrame, tPoseSlideObject::nextFrameF, NLATIME_CONVERT_UNMAP, tPoseSlideObject::ob, tPoseSlideOp::ob_data_array, tPoseSlideOp::objects_len, tPChanFCurveLink::oldprops, tPChanFCurveLink::pchan, tPoseSlideOp::pfLinks, POSE_BBONE_SHAPE, POSE_LOC, POSE_ROT, POSE_SIZE, pose_slide_apply_props(), pose_slide_apply_quat(), pose_slide_apply_vec3(), pose_slide_refresh(), tPoseSlideOp::prevFrame, tPoseSlideObject::prevFrameF, PS_TFM_ALL, PS_TFM_BBONE_SHAPE, PS_TFM_LOC, PS_TFM_PROPS, PS_TFM_ROT, PS_TFM_SIZE, ROT_MODE_AXISANGLE, bPoseChannel::rotmode, bPoseChannel::size, and tPoseSlideObject::valid.
Referenced by pose_slide_exec_common(), pose_slide_invoke_common(), and pose_slide_modal().
|
static |
Definition at line 425 of file pose_slide.c.
References LinkData::data, tPChanFCurveLink::fcurves, ListBase::first, float(), if(), len, LinkData::next, NULL, tPChanFCurveLink::ob, tPChanFCurveLink::pchan, tPChanFCurveLink::pchan_path, pose_slide_apply_val(), PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_INT, ptr, FCurve::rna_path, RNA_pointer_create(), RNA_PoseBone, RNA_property_boolean_get(), RNA_property_boolean_set(), RNA_property_float_get(), RNA_property_float_set(), RNA_property_int_get(), RNA_property_int_set(), RNA_property_type(), and RNA_struct_find_property().
Referenced by pose_slide_apply().
|
static |
Definition at line 504 of file pose_slide.c.
References FCurve::array_index, BLI_assert, BLI_sprintfN(), tPoseSlideOp::cframe, LinkData::data, ELEM, evaluate_fcurve(), tPChanFCurveLink::fcurves, float(), interp_qt_qtqt(), MEM_freeN, tPoseSlideOp::mode, tPoseSlideOp::nextFrame, normalize_qt(), normalize_qt_qt(), NULL, tPChanFCurveLink::ob, tPChanFCurveLink::pchan, tPChanFCurveLink::pchan_path, tPoseSlideOp::percentage, pose_frame_range_from_object_get(), poseAnim_mapping_getNextFCurve(), POSESLIDE_BREAKDOWN, POSESLIDE_PUSH, POSESLIDE_RELAX, tPoseSlideOp::prevFrame, bPoseChannel::quat, and quat_to_compatible_quat().
Referenced by pose_slide_apply().
|
static |
Definition at line 327 of file pose_slide.c.
References tPoseSlideOp::cframe, evaluate_fcurve(), float(), tPoseSlideOp::mode, tPoseSlideOp::nextFrame, tPoseSlideOp::percentage, pose_frame_range_from_object_get(), POSESLIDE_BREAKDOWN, POSESLIDE_PUSH, POSESLIDE_RELAX, and tPoseSlideOp::prevFrame.
Referenced by pose_slide_apply_props(), and pose_slide_apply_vec3().
|
static |
Definition at line 393 of file pose_slide.c.
References FCurve::array_index, tPoseSlideOp::axislock, BLI_assert, BLI_sprintfN(), LinkData::data, tPChanFCurveLink::fcurves, MEM_freeN, NULL, tPChanFCurveLink::ob, tPChanFCurveLink::pchan_path, pose_slide_apply_val(), poseAnim_mapping_getNextFCurve(), PS_LOCK_X, PS_LOCK_Y, and PS_LOCK_Z.
Referenced by pose_slide_apply().
|
static |
Definition at line 774 of file pose_slide.c.
References C, tPoseSlideOp::cframe, tPoseSlideOp::pfLinks, poseAnim_mapping_autoKeyframe(), and tPoseSlideOp::scene.
Referenced by pose_slide_exec_common(), and pose_slide_modal().
|
static |
Definition at line 1557 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exec_common(), pose_slide_exit(), pose_slide_init(), and POSESLIDE_BREAKDOWN.
Referenced by POSE_OT_breakdown().
|
static |
Definition at line 1537 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exit(), pose_slide_init(), pose_slide_invoke_common(), pose_slide_mouse_update_percentage(), and POSESLIDE_BREAKDOWN.
Referenced by POSE_OT_breakdown().
|
static |
Definition at line 1213 of file pose_slide.c.
References pose_slide_exit().
Referenced by POSE_OT_breakdown(), POSE_OT_push(), POSE_OT_push_rest(), POSE_OT_relax(), and POSE_OT_relax_rest().
|
static |
Definition at line 791 of file pose_slide.c.
References tPoseSlideOp::area, tPoseSlideOp::axislock, BLI_snprintf(), BLI_strncpy(), tPoseSlideOp::channels, ED_area_status_text(), ELEM, hasNumInput(), tPoseSlideOp::mode, tPoseSlideOp::num, NUM_STR_REP_LEN, outputNumInput(), tPoseSlideOp::percentage, POSESLIDE_BREAKDOWN, POSESLIDE_PUSH, POSESLIDE_RELAX, PS_LOCK_X, PS_LOCK_Y, PS_LOCK_Z, PS_TFM_BBONE_SHAPE, PS_TFM_LOC, PS_TFM_PROPS, PS_TFM_ROT, PS_TFM_SIZE, scene, tPoseSlideOp::scene, TIP_, UI_MAX_DRAW_STR, and Scene::unit.
Referenced by pose_slide_invoke_common(), and pose_slide_modal().
|
static |
Definition at line 1220 of file pose_slide.c.
References C, ELEM, tPoseSlideOp::mode, OPERATOR_FINISHED, pose_slide_apply(), pose_slide_autoKeyframe(), pose_slide_exit(), pose_slide_rest_pose_apply(), POSESLIDE_PUSH_REST, and POSESLIDE_RELAX_REST.
Referenced by pose_slide_breakdown_exec(), pose_slide_push_exec(), pose_slide_push_rest_exec(), pose_slide_relax_exec(), and pose_slide_relax_rest_exec().
|
static |
Definition at line 265 of file pose_slide.c.
References BLI_dlrbTree_free(), wmOperator::customdata, tPoseSlideOp::keys, MEM_freeN, NULL, tPoseSlideOp::ob_data_array, tPoseSlideOp::pfLinks, and poseAnim_mapping_free().
Referenced by pose_slide_breakdown_exec(), pose_slide_breakdown_invoke(), pose_slide_cancel(), pose_slide_exec_common(), pose_slide_invoke_common(), pose_slide_modal(), pose_slide_push_exec(), pose_slide_push_invoke(), pose_slide_push_rest_exec(), pose_slide_push_rest_invoke(), pose_slide_relax_exec(), pose_slide_relax_invoke(), pose_slide_relax_rest_exec(), and pose_slide_relax_rest_invoke().
|
static |
Definition at line 191 of file pose_slide.c.
References Object::adt, tPoseSlideOp::area, tPoseSlideOp::axislock, B_UNIT_NONE, BKE_nla_tweakedit_remap(), BKE_view_layer_array_from_objects_in_mode_unique_data, BLI_dlrbTree_init(), C, RenderData::cfra, tPoseSlideOp::cframe, tPoseSlideOp::channels, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_area(), CTX_wm_region(), CTX_wm_view3d(), wmOperator::customdata, bPose::flag, NumInput::idx_max, initNumInput(), tPoseSlideOp::keys, MEM_callocN, MEM_freeN, tPoseSlideOp::mode, tPoseSlideOp::nextFrame, tPoseSlideObject::nextFrameF, NLATIME_CONVERT_UNMAP, NULL, tPoseSlideOp::num, NUM_NO_NEGATIVE, tPoseSlideObject::ob, tPoseSlideOp::ob_data_array, OB_MODE_POSE, tPoseSlideOp::objects_len, tPoseSlideOp::percentage, tPoseSlideOp::pfLinks, Object::pose, POSE_DO_UNLOCK, POSE_LOCKED, poseAnim_mapping_get(), poseAnim_object_get(), tPoseSlideOp::prevFrame, tPoseSlideObject::prevFrameF, wmOperator::ptr, Scene::r, tPoseSlideOp::region, RNA_enum_get(), RNA_float_get(), RNA_int_get(), tPoseSlideOp::scene, NumInput::unit_type, NumInput::val_flag, and tPoseSlideObject::valid.
Referenced by pose_slide_breakdown_exec(), pose_slide_breakdown_invoke(), pose_slide_push_exec(), pose_slide_push_invoke(), pose_slide_push_rest_exec(), pose_slide_push_rest_invoke(), pose_slide_relax_exec(), pose_slide_relax_invoke(), pose_slide_relax_rest_exec(), and pose_slide_relax_rest_invoke().
|
static |
Definition at line 893 of file pose_slide.c.
References Object::adt, BKE_nla_tweakedit_remap(), BKE_report(), BLI_dlrbTree_search_exact(), BLI_dlrbTree_search_next(), BLI_dlrbTree_search_prev(), C, ActKeyColumn::cfra, tPoseSlideOp::cframe, compare_ak_cfraPtr(), CTX_wm_window(), LinkData::data, ELEM, fcurve_to_keylist(), tPChanFCurveLink::fcurves, ListBase::first, float(), tPoseSlideOp::keys, tPoseSlideOp::mode, tPChanFCurveLink::next, ActKeyColumn::next, LinkData::next, tPoseSlideOp::nextFrame, tPoseSlideObject::nextFrameF, NLATIME_CONVERT_UNMAP, NULL, tPChanFCurveLink::ob, tPoseSlideObject::ob, tPoseSlideOp::ob_data_array, tPoseSlideOp::objects_len, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, tPoseSlideOp::pfLinks, pose_slide_apply(), pose_slide_draw_status(), pose_slide_exit(), pose_slide_refresh(), pose_slide_rest_pose_apply(), POSESLIDE_PUSH_REST, POSESLIDE_RELAX_REST, ActKeyColumn::prev, tPoseSlideOp::prevFrame, tPoseSlideObject::prevFrameF, wmOperator::ptr, wmOperator::reports, RNA_int_set(), DLRBT_Tree::root, RPT_ERROR, tPoseSlideObject::valid, WM_CURSOR_EW_SCROLL, WM_cursor_modal_set(), and WM_event_add_modal_handler().
Referenced by pose_slide_breakdown_invoke(), pose_slide_push_invoke(), pose_slide_push_rest_invoke(), pose_slide_relax_invoke(), and pose_slide_relax_rest_invoke().
|
static |
Definition at line 1042 of file pose_slide.c.
References applyNumInput(), tPoseSlideOp::area, C, CLAMP, CTX_wm_window(), wmOperator::customdata, ED_area_status_text(), ELEM, EVT_BKEY, EVT_CKEY, EVT_ESCKEY, EVT_GKEY, EVT_PADENTER, EVT_RETKEY, EVT_RKEY, EVT_SKEY, EVT_XKEY, EVT_YKEY, EVT_ZKEY, handleNumInput(), hasNumInput(), KM_PRESS, LEFTMOUSE, tPoseSlideOp::mode, MOUSEMOVE, NULL, tPoseSlideOp::num, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, tPoseSlideOp::percentage, pose_slide_apply(), pose_slide_autoKeyframe(), pose_slide_draw_status(), pose_slide_exit(), pose_slide_mouse_update_percentage(), pose_slide_refresh(), pose_slide_reset(), pose_slide_rest_pose_apply(), pose_slide_toggle_axis_locks(), pose_slide_toggle_channels_mode(), POSESLIDE_PUSH_REST, POSESLIDE_RELAX_REST, PS_LOCK_X, PS_LOCK_Y, PS_LOCK_Z, PS_TFM_BBONE_SHAPE, PS_TFM_LOC, PS_TFM_PROPS, PS_TFM_ROT, PS_TFM_SIZE, wmOperator::ptr, RIGHTMOUSE, RNA_float_set(), wmEvent::type, wmEvent::val, and WM_cursor_modal_restore().
Referenced by POSE_OT_breakdown(), POSE_OT_push(), POSE_OT_push_rest(), POSE_OT_relax(), and POSE_OT_relax_rest().
|
static |
Definition at line 985 of file pose_slide.c.
References tPoseSlideOp::percentage, wmOperator::ptr, tPoseSlideOp::region, RNA_float_set(), ARegion::winrct, ARegion::winx, and rcti::xmin.
Referenced by pose_slide_breakdown_invoke(), pose_slide_modal(), pose_slide_push_invoke(), pose_slide_push_rest_invoke(), pose_slide_relax_invoke(), and pose_slide_relax_rest_invoke().
|
static |
Common code for defining RNA properties.
Definition at line 1242 of file pose_slide.c.
References MAXFRAME, MINAFRAME, ot, prop_axis_lock_types, prop_channels_types, PROP_SKIP_SAVE, PS_TFM_ALL, RNA_def_enum(), RNA_def_float_factor(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by POSE_OT_breakdown(), POSE_OT_push(), POSE_OT_push_rest(), POSE_OT_relax(), and POSE_OT_relax_rest().
|
static |
Definition at line 1318 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exec_common(), pose_slide_exit(), pose_slide_init(), and POSESLIDE_PUSH.
Referenced by POSE_OT_push().
|
static |
Definition at line 1298 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exit(), pose_slide_init(), pose_slide_invoke_common(), pose_slide_mouse_update_percentage(), and POSESLIDE_PUSH.
Referenced by POSE_OT_push().
|
static |
Definition at line 1437 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exec_common(), pose_slide_exit(), pose_slide_init(), and POSESLIDE_PUSH_REST.
Referenced by POSE_OT_push_rest().
|
static |
Definition at line 1417 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exit(), pose_slide_init(), pose_slide_invoke_common(), pose_slide_mouse_update_percentage(), and POSESLIDE_PUSH_REST.
Referenced by POSE_OT_push_rest().
|
static |
Definition at line 292 of file pose_slide.c.
References C, tPoseSlideObject::ob, tPoseSlideOp::ob_data_array, tPoseSlideOp::objects_len, poseAnim_mapping_refresh(), tPoseSlideOp::scene, and tPoseSlideObject::valid.
Referenced by pose_slide_apply(), pose_slide_invoke_common(), pose_slide_modal(), and pose_slide_rest_pose_apply().
|
static |
Definition at line 1378 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exec_common(), pose_slide_exit(), pose_slide_init(), and POSESLIDE_RELAX.
Referenced by POSE_OT_relax().
|
static |
Definition at line 1358 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exit(), pose_slide_init(), pose_slide_invoke_common(), pose_slide_mouse_update_percentage(), and POSESLIDE_RELAX.
Referenced by POSE_OT_relax().
|
static |
Definition at line 1497 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exec_common(), pose_slide_exit(), pose_slide_init(), and POSESLIDE_RELAX_REST.
Referenced by POSE_OT_relax_rest().
|
static |
Definition at line 1477 of file pose_slide.c.
References C, wmOperator::customdata, OPERATOR_CANCELLED, pose_slide_exit(), pose_slide_init(), pose_slide_invoke_common(), pose_slide_mouse_update_percentage(), and POSESLIDE_RELAX_REST.
Referenced by POSE_OT_relax_rest().
|
static |
Definition at line 781 of file pose_slide.c.
References tPoseSlideOp::pfLinks, and poseAnim_mapping_reset().
Referenced by pose_slide_modal().
|
static |
Definition at line 641 of file pose_slide.c.
References C, tPoseSlideOp::channels, ELEM, bPoseChannel::eul, ListBase::first, bPoseChannel::flag, bPoseChannel::loc, tPChanFCurveLink::next, tPChanFCurveLink::oldprops, tPChanFCurveLink::pchan, tPoseSlideOp::pfLinks, POSE_BBONE_SHAPE, POSE_LOC, POSE_ROT, POSE_SIZE, pose_slide_refresh(), pose_slide_rest_pose_apply_other_rot(), pose_slide_rest_pose_apply_vec3(), PS_TFM_ALL, PS_TFM_BBONE_SHAPE, PS_TFM_LOC, PS_TFM_PROPS, PS_TFM_ROT, PS_TFM_SIZE, bPoseChannel::quat, ROT_MODE_AXISANGLE, bPoseChannel::rotmode, and bPoseChannel::size.
Referenced by pose_slide_exec_common(), pose_slide_invoke_common(), and pose_slide_modal().
|
static |
Definition at line 619 of file pose_slide.c.
References tPoseSlideOp::mode, tPoseSlideOp::percentage, and POSESLIDE_RELAX_REST.
Referenced by pose_slide_rest_pose_apply().
|
static |
Definition at line 600 of file pose_slide.c.
References tPoseSlideOp::axislock, tPoseSlideOp::mode, tPoseSlideOp::percentage, POSESLIDE_RELAX_REST, PS_LOCK_X, PS_LOCK_Y, and PS_LOCK_Z.
Referenced by pose_slide_rest_pose_apply().
|
static |
Definition at line 1015 of file pose_slide.c.
References tPoseSlideOp::axislock, tPoseSlideOp::channels, ELEM, PS_TFM_ALL, PS_TFM_BBONE_SHAPE, PS_TFM_PROPS, wmOperator::ptr, and RNA_enum_set().
Referenced by pose_slide_modal().
|
static |
Definition at line 994 of file pose_slide.c.
References tPoseSlideOp::axislock, tPoseSlideOp::channels, PS_TFM_ALL, wmOperator::ptr, and RNA_enum_set().
Referenced by pose_slide_modal().
|
static |
Definition at line 179 of file pose_slide.c.
Referenced by pose_slide_opdef_properties().
|
static |
Definition at line 157 of file pose_slide.c.
Referenced by pose_slide_opdef_properties().