mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
layout consistency pass pt 2 -place shapebase inheriting initpersistfields up top so the child layout appends to the parent
This commit is contained in:
parent
f07c8745b2
commit
ace18d0246
22 changed files with 162 additions and 157 deletions
|
|
@ -124,6 +124,7 @@ AITurretShapeData::AITurretShapeData()
|
|||
|
||||
void AITurretShapeData::initPersistFields()
|
||||
{
|
||||
Parent::initPersistFields();
|
||||
addGroup("AI Steering");
|
||||
addField("maxScanHeading", TypeF32, Offset(maxScanHeading, AITurretShapeData),
|
||||
"@brief Maximum number of degrees to scan left and right.\n\n"
|
||||
|
|
@ -194,8 +195,6 @@ void AITurretShapeData::initPersistFields()
|
|||
"Scoped to AITurretShapeData.");
|
||||
|
||||
endArray( "States" );
|
||||
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
bool AITurretShapeData::onAdd()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue