mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -87,8 +87,6 @@ PhysicsShapeData::~PhysicsShapeData()
|
|||
|
||||
void PhysicsShapeData::initPersistFields()
|
||||
{
|
||||
Parent::initPersistFields();
|
||||
|
||||
addGroup("Shapes");
|
||||
|
||||
INITPERSISTFIELD_SHAPEASSET(Shape, PhysicsShapeData, "@brief Shape asset to be used with this physics object.\n\n"
|
||||
|
|
@ -173,7 +171,8 @@ void PhysicsShapeData::initPersistFields()
|
|||
addField( "simType", TYPEID< PhysicsShapeData::SimType >(), Offset( simType, PhysicsShapeData ),
|
||||
"@brief Controls whether this shape is simulated on the server, client, or both physics simulations.\n\n" );
|
||||
|
||||
endGroup( "Networking" );
|
||||
endGroup( "Networking" );
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
void PhysicsShapeData::packData( BitStream *stream )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue