From 0e5a246a7030043e56d1bbed917a09582362f887 Mon Sep 17 00:00:00 2001 From: Koen Schmeets Date: Mon, 21 Dec 2020 16:03:18 +0100 Subject: [PATCH] Fix normal selection with marquee --- src/drawentity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drawentity.cpp b/src/drawentity.cpp index d8763360..4ccd228b 100644 --- a/src/drawentity.cpp +++ b/src/drawentity.cpp @@ -64,7 +64,7 @@ BBox Entity::GetOrGenerateScreenBBox(bool *hasBBox) { Vector proj = SS.GW.ProjectPoint3(PointGetNum()); screenBBox = BBox::From(proj, proj); } else if(IsNormal()) { - Vector proj = SK.GetEntity(point[0])->PointGetNum(); + Vector proj = SS.GW.ProjectPoint3(SK.GetEntity(point[0])->PointGetNum()); screenBBox = BBox::From(proj, proj); } else if(!sbl->l.IsEmpty()) { Vector first = SS.GW.ProjectPoint3(sbl->l[0].ctrl[0]);