mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 23:23:47 +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
|
|
@ -165,6 +165,7 @@ VolumetricFog::~VolumetricFog()
|
|||
|
||||
void VolumetricFog::initPersistFields()
|
||||
{
|
||||
Parent::initPersistFields();
|
||||
addGroup("Shapes");
|
||||
INITPERSISTFIELD_SHAPEASSET(Shape, VolumetricFog, "The source shape asset.");
|
||||
endGroup("Shapes");
|
||||
|
|
@ -212,7 +213,6 @@ void VolumetricFog::initPersistFields()
|
|||
addField("lightRayMod", TypeF32, Offset(mLightRayMod, VolumetricFog),
|
||||
"Modifier for LightRay PostFX when inside Fog.");
|
||||
endGroup("PostFX");
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
bool VolumetricFog::_setShapeAsset(void* obj, const char* index, const char* data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue