Clear unknown in ViewROI and ViewManager (#1571)

This commit is contained in:
Fabian Neundorf
2025-06-18 16:06:43 +02:00
committed by GitHub
parent 94300afb6c
commit cf32607933
6 changed files with 68 additions and 62 deletions

View File

@@ -701,7 +701,7 @@ MxLong LegoNavController::Notify(MxParam& p_param)
Mx3DPointFloat roiPosition(roi->GetWorldPosition());
roiPosition -= viewPosition;
if (roiPosition.LenSquared() < 2000.0 || roi->GetUnknown0xe0() > 0) {
if (roiPosition.LenSquared() < 2000.0 || roi->GetLodLevel() > 0) {
entity->ClickAnimation();
}
}