Made Item network members properly in the editor.

This commit is contained in:
Daniel Buckmaster 2012-09-26 23:28:58 +10:00
parent fffade3923
commit a8205240e3
2 changed files with 6 additions and 0 deletions

View file

@ -457,6 +457,11 @@ void Item::onDeleteNotify( SimObject *obj )
Parent::onDeleteNotify( obj );
}
void Item::inspectPostApply()
{
setMaskBits(InitialUpdateMask);
}
// Lighting: -----------------------------------------------------------------
void Item::registerLights(LightManager * lightManager, bool lightingScene)

View file

@ -149,6 +149,7 @@ class Item: public ShapeBase
bool buildPolyList(PolyListContext context, AbstractPolyList* polyList, const Box3F &box, const SphereF &sphere);
void buildConvex(const Box3F& box, Convex* convex);
void onDeleteNotify(SimObject*);
void inspectPostApply();
protected:
void _updatePhysics();