mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-27 08:09:31 +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
|
|
@ -129,6 +129,7 @@ public:
|
|||
virtual ~PhysicsDebris();
|
||||
|
||||
DECLARE_CONOBJECT(PhysicsDebris);
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
static void initPersistFields();
|
||||
|
||||
bool onAdd();
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
virtual ~PhysicsForce();
|
||||
|
||||
DECLARE_CONOBJECT( PhysicsForce );
|
||||
|
||||
DECLARE_CATEGORY("UNLISTED");
|
||||
// SimObject
|
||||
static void initPersistFields();
|
||||
bool onAdd();
|
||||
|
|
@ -88,4 +88,4 @@ protected:
|
|||
};
|
||||
|
||||
|
||||
#endif // _T3D_PHYSICS_PHYSICSFORCE_H_
|
||||
#endif // _T3D_PHYSICS_PHYSICSFORCE_H_
|
||||
|
|
|
|||
|
|
@ -229,6 +229,7 @@ public:
|
|||
virtual ~PhysicsShape();
|
||||
|
||||
DECLARE_CONOBJECT( PhysicsShape );
|
||||
DECLARE_CATEGORY("Object \t Destructable");
|
||||
|
||||
/// Returns the PhysicsShapeData datablock.
|
||||
PhysicsShapeData* getDataBlock() { return static_cast<PhysicsShapeData*>( Parent::getDataBlock() ); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue