2
0
Эх сурвалжийг харах

Made Item network members properly in the editor.

Daniel Buckmaster 13 жил өмнө
parent
commit
a8205240e3

+ 5 - 0
Engine/source/T3D/item.cpp

@@ -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)

+ 1 - 0
Engine/source/T3D/item.h

@@ -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();