Fix old api usage for #4185

This commit is contained in:
2026-09-14 08:30:51 +02:00
parent b586c6a0fb
commit e669e9ca65
57 changed files with 89 additions and 90 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ namespace FlaxEditor
if (model == null)
continue;
staticModel.Transform.GetWorld(out world);
var bounds = BoundingSphere.FromBox(staticModel.Box);
var bounds = BoundingSphere.FromBox(staticModel.BoundingBox);
// Pick a proper LOD
Float3 center = bounds.Center - renderContext.View.Origin;