diff options
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform.c | 4 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_snap.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 63287f86464..34c0e17f7d2 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -574,7 +574,9 @@ int transformEvent(TransInfo *t, wmEvent *event) t->mval[0] = event->x - t->ar->winrct.xmin; t->mval[1] = event->y - t->ar->winrct.ymin; - t->redraw |= TREDRAW_SOFT; + // t->redraw |= TREDRAW_SOFT; /* Use this for soft redraw. Might cause flicker in object mode */ + t->redraw |= TREDRAW_HARD; + if (t->state == TRANS_STARTING) { t->state = TRANS_RUNNING; diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c index 06a2db527fd..d5f14f0a470 100644 --- a/source/blender/editors/transform/transform_snap.c +++ b/source/blender/editors/transform/transform_snap.c @@ -261,6 +261,8 @@ void applyProject(TransInfo *t) } else if (t->flag & T_OBJECT) { + td->ob->recalc |= OB_RECALC_ALL; + object_handle_update(t->scene, td->ob); VECCOPY(iloc, td->ob->obmat[3]); } |