Fix some cases where the green line (that indicates the center of

an in-plane rotation of the view, or of a set of entities) would
remain on screen after the action was over.

[git-p4: depot-paths = "//depot/solvespace/": change = 2142]
solver
Jonathan Westhues 2010-05-11 20:47:58 -08:00
parent 949df4d139
commit a95054890f
2 changed files with 3 additions and 1 deletions

View File

@ -1067,6 +1067,8 @@ void GraphicsWindow::MouseLeftUp(double mx, double my) {
switch(pending.operation) {
case DRAGGING_POINTS:
SS.extraLine.draw = false;
// fall through
case DRAGGING_CONSTRAINT:
case DRAGGING_NORMAL:
case DRAGGING_RADIUS:
@ -1233,6 +1235,7 @@ void GraphicsWindow::MouseLeave(void) {
toolbarHovered = 0;
PaintGraphics();
}
SS.extraLine.draw = false;
}
void GraphicsWindow::SpaceNavigatorMoved(double tx, double ty, double tz,

View File

@ -1,4 +1,3 @@
fix bug with rotation in plane where green line stays displayed
rounding (of requests, not parametric)
-----