diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-10-15 02:46:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-10-15 02:51:57 +0300 |
commit | 4965c43df7482f1426bb030f7b766921a25e37c0 (patch) | |
tree | a17fd66efbb6f2c5f577698c33c4b836945f439e /source/blender/editors/transform/transform_ops.c | |
parent | 75e4e4b67fac4220f732d1ace4793f9872de156e (diff) |
Fix T46451: vertex/edge slide clamp not available in redo popup.
Diffstat (limited to 'source/blender/editors/transform/transform_ops.c')
-rw-r--r-- | source/blender/editors/transform/transform_ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index ceec72944ee..45afeeb7da9 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -855,6 +855,8 @@ static void TRANSFORM_OT_edge_slide(struct wmOperatorType *ot) "Make the edge loop match the shape of the adjacent edge loop"); RNA_def_boolean(ot->srna, "flipped", false, "Flipped", "When Even mode is active, flips between the two adjacent edge loops"); + RNA_def_boolean(ot->srna, "use_clamp", true, "Clamp", + "Clamp within the edge extents"); Transform_Properties(ot, P_MIRROR | P_SNAP | P_CORRECT_UV); } @@ -879,6 +881,8 @@ static void TRANSFORM_OT_vert_slide(struct wmOperatorType *ot) "Make the edge loop match the shape of the adjacent edge loop"); RNA_def_boolean(ot->srna, "flipped", false, "Flipped", "When Even mode is active, flips between the two adjacent edge loops"); + RNA_def_boolean(ot->srna, "use_clamp", true, "Clamp", + "Clamp within the edge extents"); Transform_Properties(ot, P_MIRROR | P_SNAP | P_CORRECT_UV); } |