Pose Library: properly set hard min/max for blend factor
Since rBcommit 74c4977a the pose library blending operator can extrapolate.
This is now also reflected in the hard min/max value of the blend factor
RNA property. The soft min/max are still -1/1 to indicate normal use.
This commit is contained in:
@@ -568,8 +568,8 @@ void POSELIB_OT_apply_pose_asset(wmOperatorType *ot)
|
||||
RNA_def_float_factor(ot->srna,
|
||||
"blend_factor",
|
||||
1.0f,
|
||||
-1.0f,
|
||||
1.0f,
|
||||
-FLT_MAX,
|
||||
FLT_MAX,
|
||||
"Blend Factor",
|
||||
"Amount that the pose is applied on top of the existing poses. A negative "
|
||||
"value will apply the pose flipped over the X-axis",
|
||||
@@ -608,8 +608,8 @@ void POSELIB_OT_blend_pose_asset(wmOperatorType *ot)
|
||||
prop = RNA_def_float_factor(ot->srna,
|
||||
"blend_factor",
|
||||
0.0f,
|
||||
-1.0f,
|
||||
1.0f,
|
||||
-FLT_MAX,
|
||||
FLT_MAX,
|
||||
"Blend Factor",
|
||||
"Amount that the pose is applied on top of the existing poses. A "
|
||||
"negative value will apply the pose flipped over the X-axis",
|
||||
|
||||
Reference in New Issue
Block a user