mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -169,8 +169,8 @@ bool GuiRiverEditorCtrl::onAdd()
|
|||
void GuiRiverEditorCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "DefaultWidth", TypeF32, Offset( mDefaultWidth, GuiRiverEditorCtrl ) );
|
||||
addField( "DefaultDepth", TypeF32, Offset( mDefaultDepth, GuiRiverEditorCtrl ) );
|
||||
addFieldV( "DefaultWidth", TypeRangedF32, Offset( mDefaultWidth, GuiRiverEditorCtrl ), &CommonValidators::PositiveFloat);
|
||||
addFieldV( "DefaultDepth", TypeRangedF32, Offset( mDefaultDepth, GuiRiverEditorCtrl ), &CommonValidators::PositiveFloat);
|
||||
addField( "DefaultNormal", TypePoint3F,Offset( mDefaultNormal, GuiRiverEditorCtrl ) );
|
||||
addField( "HoverSplineColor", TypeColorI, Offset( mHoverSplineColor, GuiRiverEditorCtrl ) );
|
||||
addField( "SelectedSplineColor", TypeColorI, Offset( mSelectedSplineColor, GuiRiverEditorCtrl ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue