mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
fix forceDetail
it can safely be a negative number.
This commit is contained in:
parent
903c987d53
commit
b4eb885aae
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ void TSStatic::initPersistFields()
|
||||||
|
|
||||||
addFieldV("renderNormals", TypeRangedF32, Offset(mRenderNormalScalar, TSStatic), &CommonValidators::PositiveFloat,
|
addFieldV("renderNormals", TypeRangedF32, Offset(mRenderNormalScalar, TSStatic), &CommonValidators::PositiveFloat,
|
||||||
"Debug rendering mode shows the normals for each point in the TSStatic's mesh.");
|
"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.");
|
"Forces rendering to a particular detail level.");
|
||||||
|
|
||||||
endGroup("Debug");
|
endGroup("Debug");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue