Fix #31734: Edge slide operator Flip/Even options not working
Issue was caused by wrong check whether transform is in edge slide mode.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user