mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
fill in the validated variables
This commit is contained in:
parent
fa760fa746
commit
f633ef3a3d
184 changed files with 1359 additions and 1216 deletions
|
|
@ -174,7 +174,7 @@ void GuiShapeEdPreview::initPersistFields()
|
|||
addGroup( "Detail Stats" );
|
||||
addField( "fixedDetail", TypeBool, Offset( mFixedDetail, GuiShapeEdPreview ),
|
||||
"If false, the current detail is selected based on camera distance" );
|
||||
addField( "orbitDist", TypeF32, Offset( mOrbitDist, GuiShapeEdPreview ),
|
||||
addFieldV( "orbitDist", TypeRangedF32, Offset( mOrbitDist, GuiShapeEdPreview ), &CommonValidators::PositiveFloat,
|
||||
"The current distance from the camera to the model" );
|
||||
addProtectedField( "currentDL", TypeS32, Offset( mCurrentDL, GuiShapeEdPreview ), &setFieldCurrentDL, &defaultProtectedGetFn,
|
||||
"The current detail level" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue