[#22854] Objects lag behind mouse pointer when transformed (translated)

[#24652] Project vertices button showing in object mode and leads to wrong behavior.

Removing soft redraw (code is still there in case we need it eventually) on mouse move, now that events are compressed.
This commit is contained in:
2010-11-21 18:31:00 +00:00
parent 8a92513032
commit 01c6b6f1e9
2 changed files with 5 additions and 1 deletions

View File

@@ -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;