mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53: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
|
|
@ -137,6 +137,7 @@ EndImplementEnumType;
|
|||
|
||||
void ItemData::initPersistFields()
|
||||
{
|
||||
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.");
|
||||
addField("elasticity", TypeF32, Offset(elasticity, ItemData), "A floating-point value specifying how 'bouncy' this ItemData is.");
|
||||
|
|
@ -172,8 +173,6 @@ void ItemData::initPersistFields()
|
|||
"@brief If true, this ItemData will only cast a light if the Item for this ItemData has a static value of true.\n\n"
|
||||
"@see lightType\n");
|
||||
endGroup("Light Emitter");
|
||||
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
void ItemData::packData(BitStream* stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue