mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 21:54:35 +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
|
|
@ -1768,10 +1768,10 @@ void GuiConvexEditorCtrl::submitUndo( UndoType type, const Vector<ConvexShape*>
|
|||
mIsDirty = true;
|
||||
}
|
||||
|
||||
bool GuiConvexEditorCtrl::_cursorCastCallback( RayInfo* ri )
|
||||
bool GuiConvexEditorCtrl::_cursorCastCallback(SceneObject* object)
|
||||
{
|
||||
// Reject anything that's not a ConvexShape.
|
||||
return dynamic_cast< ConvexShape* >( ri->object );
|
||||
return dynamic_cast< ConvexShape* >( object );
|
||||
}
|
||||
|
||||
bool GuiConvexEditorCtrl::_cursorCast( const Gui3DMouseEvent &event, ConvexShape **hitShape, S32 *hitFace )
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ protected:
|
|||
void _renderObject( ObjectRenderInst *ri, SceneRenderState *state, BaseMatInstance *matInst );
|
||||
|
||||
bool _cursorCast( const Gui3DMouseEvent &event, ConvexShape **hitShape, S32 *hitFace );
|
||||
static bool _cursorCastCallback( RayInfo* ri );
|
||||
static bool _cursorCastCallback(SceneObject* object);
|
||||
|
||||
protected:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue