mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +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
|
|
@ -108,13 +108,12 @@ StaticShapeData::StaticShapeData(const StaticShapeData& other, bool temp_clone)
|
|||
|
||||
void StaticShapeData::initPersistFields()
|
||||
{
|
||||
Parent::initPersistFields();
|
||||
addField("noIndividualDamage", TypeBool, Offset(noIndividualDamage, StaticShapeData), "Deprecated\n\n @internal");
|
||||
addField("dynamicType", TypeS32, Offset(dynamicTypeField, StaticShapeData),
|
||||
"@brief An integer value which, if speficied, is added to the value retured by getType().\n\n"
|
||||
"This allows you to extend the type mask for a StaticShape that uses this datablock. Type masks "
|
||||
"are used for container queries, etc.");
|
||||
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
void StaticShapeData::packData(BitStream* stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue