mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +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
|
|
@ -51,7 +51,6 @@ struct afxCameraData: public ShapeBaseData {
|
|||
|
||||
//
|
||||
DECLARE_CONOBJECT(afxCameraData);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
static void initPersistFields();
|
||||
virtual void packData(BitStream* stream);
|
||||
virtual void unpackData(BitStream* stream);
|
||||
|
|
@ -144,7 +143,7 @@ public:
|
|||
bool isCamera() const { return true; }
|
||||
|
||||
DECLARE_CONOBJECT(afxCamera);
|
||||
DECLARE_CATEGORY("AFX");
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
|
||||
private: // 3POV SECTION
|
||||
void cam_update_3pov(F32 dt, bool on_server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue