Cleanup: Rename POSELIB_OT_blend_pose
to POSELIB_OT_blend_pose_asset
Rename the pose blending operator to `POSELIB_OT_blend_pose_asset`, so that we can make an operator `POSELIB_OT_apply_pose_asset` without colliding with the old `POSELIB_OT_apply_pose` operator (from the current pose library system instead of the new one). No functional changes.
This commit is contained in:
@@ -204,7 +204,7 @@ void POSELIB_OT_browse_interactive(struct wmOperatorType *ot);
|
||||
void POSELIB_OT_apply_pose(struct wmOperatorType *ot);
|
||||
|
||||
/* pose_lib_2.c */
|
||||
void POSELIB_OT_blend_pose(struct wmOperatorType *ot);
|
||||
void POSELIB_OT_blend_pose_asset(struct wmOperatorType *ot);
|
||||
|
||||
/* ******************************************************* */
|
||||
/* Pose Sliding Tools */
|
||||
|
@@ -131,7 +131,7 @@ void ED_operatortypes_armature(void)
|
||||
/* POSELIB */
|
||||
WM_operatortype_append(POSELIB_OT_browse_interactive);
|
||||
WM_operatortype_append(POSELIB_OT_apply_pose);
|
||||
WM_operatortype_append(POSELIB_OT_blend_pose);
|
||||
WM_operatortype_append(POSELIB_OT_blend_pose_asset);
|
||||
|
||||
WM_operatortype_append(POSELIB_OT_pose_add);
|
||||
WM_operatortype_append(POSELIB_OT_pose_remove);
|
||||
|
@@ -658,11 +658,11 @@ static bool poselib_blend_poll(bContext *C)
|
||||
return poselib_asset_in_context(C);
|
||||
}
|
||||
|
||||
void POSELIB_OT_blend_pose(wmOperatorType *ot)
|
||||
void POSELIB_OT_blend_pose_asset(wmOperatorType *ot)
|
||||
{
|
||||
/* Identifiers: */
|
||||
ot->name = "Blend Pose Library Pose";
|
||||
ot->idname = "POSELIB_OT_blend_pose";
|
||||
ot->idname = "POSELIB_OT_blend_pose_asset";
|
||||
ot->description = "Blend the given Pose Action to the rig";
|
||||
|
||||
/* Callbacks: */
|
||||
|
Reference in New Issue
Block a user