Fix normal selection with marquee

This commit is contained in:
Koen Schmeets 2020-12-21 16:03:18 +01:00 committed by ruevs
parent f343bbc4f4
commit 0e5a246a70

View File

@ -64,7 +64,7 @@ BBox Entity::GetOrGenerateScreenBBox(bool *hasBBox) {
Vector proj = SS.GW.ProjectPoint3(PointGetNum()); Vector proj = SS.GW.ProjectPoint3(PointGetNum());
screenBBox = BBox::From(proj, proj); screenBBox = BBox::From(proj, proj);
} else if(IsNormal()) { } 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); screenBBox = BBox::From(proj, proj);
} else if(!sbl->l.IsEmpty()) { } else if(!sbl->l.IsEmpty()) {
Vector first = SS.GW.ProjectPoint3(sbl->l[0].ctrl[0]); Vector first = SS.GW.ProjectPoint3(sbl->l[0].ctrl[0]);