svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22701:22704
[blender.git] / source / gameengine / Converter / BL_MeshDeformer.h
index 289826e45e70796afa7377b3bdea162e6214eb2b..1749d438d21e44c6720905074bf15d69f46a1057 100644 (file)
@@ -85,6 +85,13 @@ protected:
        int                                                     m_tvtot;
        BL_DeformableGameObject*        m_gameobj;
        double                                          m_lastDeformUpdate;
+
+
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+       void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_MeshDeformer"); }
+       void operator delete( void *mem ) { MEM_freeN(mem); }
+#endif
 };
 
 #endif