svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22701:22704
[blender.git] / source / gameengine / Converter / BL_SkinMeshObject.h
index e2d0e37664da169fd907ddc7acc163815384c46d..838c6c3cb9506aa3b22fc5597425352fe9583835 100644 (file)
@@ -54,6 +54,13 @@ public:
        
        // for shape keys, 
        void CheckWeightCache(struct Object* obj);
+
+
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+       void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_SkinMeshObject"); }
+       void operator delete( void *mem ) { MEM_freeN(mem); }
+#endif
 };
 
 #endif