From 26c2b33fc00a2aee55d5e9af0ae3b5831a8be8ee Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 16 Apr 2024 16:34:38 +0200 Subject: [PATCH] Fix large world compile --- Source/Engine/Level/Actors/AnimatedModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Level/Actors/AnimatedModel.cpp b/Source/Engine/Level/Actors/AnimatedModel.cpp index ccd5fa95c..6f8137bc6 100644 --- a/Source/Engine/Level/Actors/AnimatedModel.cpp +++ b/Source/Engine/Level/Actors/AnimatedModel.cpp @@ -1030,7 +1030,7 @@ void AnimatedModel::OnDebugDraw() GetLocalToWorldMatrix(world); // Draw bounding box at the node locations - const float boxSize = Math::Min(1.0f, _sphere.Radius / 100.0f); + const float boxSize = Math::Min(1.0f, (float)_sphere.Radius / 100.0f); OrientedBoundingBox localBox(Vector3(-boxSize), Vector3(boxSize)); for (int32 nodeIndex = 0; nodeIndex < GraphInstance.NodesPose.Count(); nodeIndex++) {