mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 12:25:30 +00:00
clean up "Add" menubar categoes on the 3d object side via the following:
SceneObject now defaults to a category of "misc" getCategoryOfClass now checks parent classes for what categories they hold so that variants can inherit categories are in one of a few rough groups and subgroups depending on actual mapper needs/usages
This commit is contained in:
parent
edbb76155b
commit
fbcfe02098
157 changed files with 127 additions and 131 deletions
|
|
@ -34,7 +34,6 @@ struct sgLightObjectData : public GameBaseData
|
|||
{
|
||||
typedef GameBaseData Parent;
|
||||
DECLARE_CONOBJECT(sgLightObjectData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
};
|
||||
|
||||
IMPLEMENT_CO_DATABLOCK_V1(sgLightObjectData);
|
||||
|
|
@ -76,4 +75,4 @@ bool afxEA_TLKLightDesc::requiresStop(const afxEffectWrapperData* ew, const afxE
|
|||
return (timing.lifetime < 0);
|
||||
}
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ public:
|
|||
static void initPersistFields();
|
||||
|
||||
//DECLARE_CONOBJECT(afxEA_Zodiac);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
};
|
||||
|
||||
//IMPLEMENT_CONOBJECT(afxEA_Zodiac);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue