mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 21:05:39 +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
|
|
@ -175,6 +175,8 @@ bool FlyingVehicleData::preload(bool server, String &errorStr)
|
|||
|
||||
void FlyingVehicleData::initPersistFields()
|
||||
{
|
||||
Parent::initPersistFields();
|
||||
|
||||
addGroup("Physics");
|
||||
addField( "rollForce", TypeF32, Offset(rollForce, FlyingVehicleData),
|
||||
"@brief Damping torque against rolling maneuvers (rotation about the y-axis), "
|
||||
|
|
@ -249,7 +251,6 @@ void FlyingVehicleData::initPersistFields()
|
|||
addGroup("Sounds");
|
||||
INITPERSISTFIELD_SOUNDASSET_ENUMED(FlyingSounds, engineSounds, Sounds::MaxSounds, FlyingVehicleData, "EngineSounds.");
|
||||
endGroup("Sounds");
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
void FlyingVehicleData::packData(BitStream* stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue