diff options
author | Ton Roosendaal <ton@blender.org> | 2012-12-15 14:53:35 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-12-15 14:53:35 +0400 |
commit | 1ab3edb108ee51eb150f942e18bb124e4bba85f4 (patch) | |
tree | 8fc6e7ba165ddd5782804a1a1649233f7566009f /source | |
parent | 06888b7bebf66c5b05dd1a8106e35c57458252c0 (diff) |
Classical mistake - fix a bug in 1 feature, but don't test the related ones :/
Previous commit broke dragging area edges.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 2e6cb420974..df7b2f73c25 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -1001,6 +1001,7 @@ static int area_move_init(bContext *C, wmOperator *op) bScreen *sc = CTX_wm_screen(C); ScrEdge *actedge; sAreaMoveData *md; + ScrVert *v1; int x, y; /* required properties */ @@ -1019,7 +1020,11 @@ static int area_move_init(bContext *C, wmOperator *op) else md->origval = actedge->v1->vec.x; select_connected_scredge(sc, actedge); - /* now all vertices with 'flag==1' are the ones that can be moved. */ + /* now all vertices with 'flag==1' are the ones that can be moved. Move this to editflag */ + for (v1 = sc->vertbase.first; v1; v1 = v1->next) + if (v1->flag) + v1->editflag = 1; + area_move_set_limits(sc, md->dir, &md->bigger, &md->smaller); |