Properly call endGroup instead of addGroup

This commit is contained in:
Lukas Aldershaab 2023-10-08 19:35:34 +02:00 committed by Brian Roberts
parent 753cbe32d9
commit 25c1ebcf13
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@ void DebrisData::initPersistFields()
addGroup("Particle Effects");
addField("emitters", TYPEID< ParticleEmitterData >(), Offset(emitterList, DebrisData), DDC_NUM_EMITTERS,
"@brief List of particle emitters to spawn along with this debris object.\n\nThese are optional. You could have Debris made up of only a shape.\n");
addGroup("Particle Effects");
endGroup("Particle Effects");
addGroup("Datablocks");
addField("explosion", TYPEID< ExplosionData >(), Offset(explosion, DebrisData),
"@brief ExplosionData to spawn along with this debris object.\n\nThis is optional as not all Debris explode.\n");

View file

@ -175,7 +175,7 @@ void afxModelData::initPersistFields()
docsURL;
addGroup("Shapes");
INITPERSISTFIELD_SHAPEASSET(Shape, afxModelData, "The name of a .dts format file to use for the model.");
addGroup("Shapes");
endGroup("Shapes");
addGroup("Animation");
addField("sequence", TypeString, myOffset(sequence),