[#29144] Snapping control points: can't choose which one to delete

Reported by Pep Ribal
You can now select which snap point to remove (with Alt-A) by moving the cursor over them.
Display colors are also used to indicate which snap points are active, selected or just there.
This commit is contained in:
2011-12-26 20:23:07 +00:00
parent 5f3b1a9767
commit 8cc96408df
3 changed files with 76 additions and 17 deletions

View File

@@ -585,6 +585,9 @@ int transformEvent(TransInfo *t, wmEvent *event)
}
applyMouseInput(t, &t->mouse, t->mval, t->values);
// Snapping mouse move events
t->redraw |= handleSnapping(t, event);
}
/* handle modal keymap first */
@@ -1027,7 +1030,7 @@ int transformEvent(TransInfo *t, wmEvent *event)
// Numerical input events
t->redraw |= handleNumInput(&(t->num), event);
// Snapping events
// Snapping key events
t->redraw |= handleSnapping(t, event);
}