mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Made Item network members properly in the editor.
This commit is contained in:
parent
fffade3923
commit
a8205240e3
2 changed files with 6 additions and 0 deletions
|
|
@ -457,6 +457,11 @@ void Item::onDeleteNotify( SimObject *obj )
|
||||||
Parent::onDeleteNotify( obj );
|
Parent::onDeleteNotify( obj );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Item::inspectPostApply()
|
||||||
|
{
|
||||||
|
setMaskBits(InitialUpdateMask);
|
||||||
|
}
|
||||||
|
|
||||||
// Lighting: -----------------------------------------------------------------
|
// Lighting: -----------------------------------------------------------------
|
||||||
|
|
||||||
void Item::registerLights(LightManager * lightManager, bool lightingScene)
|
void Item::registerLights(LightManager * lightManager, bool lightingScene)
|
||||||
|
|
|
||||||
|
|
@ -149,6 +149,7 @@ class Item: public ShapeBase
|
||||||
bool buildPolyList(PolyListContext context, AbstractPolyList* polyList, const Box3F &box, const SphereF &sphere);
|
bool buildPolyList(PolyListContext context, AbstractPolyList* polyList, const Box3F &box, const SphereF &sphere);
|
||||||
void buildConvex(const Box3F& box, Convex* convex);
|
void buildConvex(const Box3F& box, Convex* convex);
|
||||||
void onDeleteNotify(SimObject*);
|
void onDeleteNotify(SimObject*);
|
||||||
|
void inspectPostApply();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _updatePhysics();
|
void _updatePhysics();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue