Fix the mystery bug where the display disappears. That would happen
when I get a mouse moved event with the middle button down before I got a middle button down event; orig.proj{Right,Up} were invalid. [git-p4: depot-paths = "//depot/solvespace/": change = 1873]
This commit is contained in:
parent
51ca96b821
commit
33654c7ce7
|
@ -118,6 +118,11 @@ void GraphicsWindow::Init(void) {
|
|||
projRight = Vector::From(1, 0, 0);
|
||||
projUp = Vector::From(0, 1, 0);
|
||||
|
||||
// Make sure those are valid; could get a mouse move without a mouse
|
||||
// down if someone depresses the button, then drags into our window.
|
||||
orig.projRight = projRight;
|
||||
orig.projUp = projUp;
|
||||
|
||||
// And with the last group active
|
||||
activeGroup = SS.group.elem[SS.group.n-1].h;
|
||||
SS.GetGroup(activeGroup)->Activate();
|
||||
|
|
Loading…
Reference in New Issue
Block a user