diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-07 11:39:37 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-07 11:39:37 +0400 |
commit | c714388473115752f32d0f2a7b722d4ef3bf7d57 (patch) | |
tree | bea7097570b27703aadfded097cad9246ab67f06 /source/blender/editors/transform/transform.c | |
parent | e261d5ca3b57b5e2f1e58ce84fd1dc9290978101 (diff) |
Fix #31734: Edge slide operator Flip/Even options not working
Issue was caused by wrong check whether transform is in edge slide mode.
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 0abc4f00c54..b437d186549 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -5201,7 +5201,7 @@ void initEdgeSlide(TransInfo *t) int handleEventEdgeSlide(struct TransInfo *t, struct wmEvent *event) { - if (t->flag & TFM_EDGE_SLIDE) { + if (t->mode == TFM_EDGE_SLIDE) { SlideData *sld = t->customData; if (sld) { @@ -5243,7 +5243,7 @@ int handleEventEdgeSlide(struct TransInfo *t, struct wmEvent *event) void drawNonPropEdge(const struct bContext *C, TransInfo *t) { - if (t->flag & TFM_EDGE_SLIDE) { + if (t->mode == TFM_EDGE_SLIDE) { SlideData *sld = (SlideData *)t->customData; /* Non-Prop mode */ if (sld && sld->is_proportional == FALSE) { |