Fix marquee selection when the view is rotated away from the working plane

pull/833/head
Koen Schmeets 2020-12-21 16:02:37 +01:00 committed by ruevs
parent 4275fb1202
commit f343bbc4f4
1 changed files with 2 additions and 2 deletions

View File

@ -207,8 +207,8 @@ void GraphicsWindow::MakeSelected(Selection *stog) {
//-----------------------------------------------------------------------------
void GraphicsWindow::SelectByMarquee() {
Point2d marqueePoint = ProjectPoint(orig.marqueePoint);
BBox marqueeBBox = BBox::From(Vector::From(marqueePoint.x, marqueePoint.y, -1),
Vector::From(orig.mouse.x, orig.mouse.y, 1));
BBox marqueeBBox = BBox::From(Vector::From(marqueePoint.x, marqueePoint.y, VERY_NEGATIVE),
Vector::From(orig.mouse.x, orig.mouse.y, VERY_POSITIVE));
Entity *e;
for(e = SK.entity.First(); e; e = SK.entity.NextAfter(e)) {