mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
add "docsURL" filter to assignFieldsFrom to prevent it from triggering opening web pages when inheriting values
This commit is contained in:
parent
f5a34308f9
commit
1b33b01eb1
15 changed files with 18 additions and 0 deletions
|
|
@ -147,6 +147,7 @@ FRangeValidator spinRandFValidator(-1000.f, 1000.f);
|
|||
//-----------------------------------------------------------------------------
|
||||
void ParticleData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addFieldV( "dragCoefficient", TYPEID< F32 >(), Offset(dragCoefficient, ParticleData), &dragCoefFValidator,
|
||||
"Particle physics drag amount." );
|
||||
addField( "windCoefficient", TYPEID< F32 >(), Offset(windCoefficient, ParticleData),
|
||||
|
|
|
|||
|
|
@ -207,6 +207,7 @@ FRangeValidator phiFValidator(0.f, 360.f);
|
|||
//-----------------------------------------------------------------------------
|
||||
void ParticleEmitterData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "ParticleEmitterData" );
|
||||
|
||||
addFieldV("ejectionPeriodMS", TYPEID< S32 >(), Offset(ejectionPeriodMS, ParticleEmitterData), &ejectPeriodIValidator,
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@ EndImplementEnumType;
|
|||
|
||||
void ItemData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
addGroup("Physics");
|
||||
addField("friction", TypeF32, Offset(friction, ItemData), "A floating-point value specifying how much velocity is lost to impact and sliding friction.");
|
||||
|
|
|
|||
|
|
@ -704,6 +704,7 @@ bool PlayerData::isJumpAction(U32 action)
|
|||
|
||||
void PlayerData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "pickupRadius", TypeF32, Offset(pickupRadius, PlayerData),
|
||||
|
|
|
|||
|
|
@ -534,6 +534,7 @@ bool ShapeBaseData::_setMass( void* object, const char* index, const char* data
|
|||
|
||||
void ShapeBaseData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Shapes" );
|
||||
INITPERSISTFIELD_SHAPEASSET(Shape, ShapeBaseData, "The source shape asset.");
|
||||
addField("computeCRC", TypeBool, Offset(computeCRC, ShapeBaseData),
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ bool TriggerData::onAdd()
|
|||
|
||||
void TriggerData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Callbacks");
|
||||
|
||||
addField( "tickPeriodMS", TypeS32, Offset( tickPeriodMS, TriggerData ),
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@ AITurretShapeData::AITurretShapeData()
|
|||
|
||||
void AITurretShapeData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
addGroup("AI Steering");
|
||||
addField("maxScanHeading", TypeF32, Offset(maxScanHeading, AITurretShapeData),
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ TurretShapeData::TurretShapeData()
|
|||
|
||||
void TurretShapeData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
addGroup("Steering");
|
||||
addField("zRotOnly", TypeBool, Offset(zRotOnly, TurretShapeData),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue