mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 11:03:49 +00:00
layout consistency pass pt 3 - some afx bits, correct malformed shapeimage grouping causing a crash.
-must have addgroup and endgroup
This commit is contained in:
parent
41cb2e63cf
commit
a0bbe0ec18
4 changed files with 81 additions and 97 deletions
|
|
@ -70,17 +70,22 @@ afxStaticShapeData::afxStaticShapeData(const afxStaticShapeData& other, bool tem
|
|||
|
||||
void afxStaticShapeData::initPersistFields()
|
||||
{
|
||||
addField("sequence", TypeString, myOffset(sequence),
|
||||
addGroup("Animation");
|
||||
addField("sequence", TypeString, myOffset(sequence),
|
||||
"An animation sequence in the StaticShape to play.");
|
||||
addField("ignoreSceneAmbient", TypeBool, myOffset(ignore_scene_amb),
|
||||
"...");
|
||||
addField("useCustomSceneAmbient", TypeBool, myOffset(use_custom_scene_amb),
|
||||
"...");
|
||||
addField("customSceneAmbient", TypeColorF, myOffset(custom_scene_amb),
|
||||
"...");
|
||||
addField("doSpawn", TypeBool, myOffset(do_spawn),
|
||||
"When true, the StaticShape effect will leave behind the StaticShape object as a "
|
||||
"permanent part of the scene.");
|
||||
endGroup("Animation");
|
||||
|
||||
addGroup("Rendering");
|
||||
addField("ignoreSceneAmbient", TypeBool, myOffset(ignore_scene_amb), "...");
|
||||
addField("useCustomSceneAmbient", TypeBool, myOffset(use_custom_scene_amb), "...");
|
||||
addField("customSceneAmbient", TypeColorF, myOffset(custom_scene_amb), "...");
|
||||
endGroup("Rendering");
|
||||
|
||||
addGroup("Behaviour");
|
||||
addField("doSpawn", TypeBool, myOffset(do_spawn),
|
||||
"When true, the StaticShape effect will leave behind the StaticShape object as a "
|
||||
"permanent part of the scene.");
|
||||
endGroup("Behaviour");
|
||||
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue