From b4eb885aae28865a2f409f89b8e0d1a1d9f686ff Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Wed, 19 Mar 2025 18:08:37 -0500 Subject: [PATCH] fix forceDetail it can safely be a negative number. --- Engine/source/T3D/tsStatic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/T3D/tsStatic.cpp b/Engine/source/T3D/tsStatic.cpp index 7c15b9eaf..52a28d14b 100644 --- a/Engine/source/T3D/tsStatic.cpp +++ b/Engine/source/T3D/tsStatic.cpp @@ -262,7 +262,7 @@ void TSStatic::initPersistFields() addFieldV("renderNormals", TypeRangedF32, Offset(mRenderNormalScalar, TSStatic), &CommonValidators::PositiveFloat, "Debug rendering mode shows the normals for each point in the TSStatic's mesh."); - addFieldV("forceDetail", TypeRangedS32, Offset(mForceDetail, TSStatic), &CommonValidators::PositiveInt, + addFieldV("forceDetail", TypeRangedS32, Offset(mForceDetail, TSStatic), &CommonValidators::S32Range, "Forces rendering to a particular detail level."); endGroup("Debug");