From 25c1ebcf138d788084b496d4fcf15a05f61e81e7 Mon Sep 17 00:00:00 2001 From: Lukas Aldershaab Date: Sun, 8 Oct 2023 19:35:34 +0200 Subject: [PATCH] Properly call endGroup instead of addGroup --- Engine/source/T3D/debris.cpp | 2 +- Engine/source/afx/ce/afxModel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/T3D/debris.cpp b/Engine/source/T3D/debris.cpp index 739957af5..58a4373fb 100644 --- a/Engine/source/T3D/debris.cpp +++ b/Engine/source/T3D/debris.cpp @@ -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"); diff --git a/Engine/source/afx/ce/afxModel.cpp b/Engine/source/afx/ce/afxModel.cpp index 434a58985..57dca2d21 100644 --- a/Engine/source/afx/ce/afxModel.cpp +++ b/Engine/source/afx/ce/afxModel.cpp @@ -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),