svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22717:22875
[blender-staging.git] / source / gameengine / Ketsji / KX_LightIpoSGController.h
index 98870cf5b3f2237729aa5d915d97e9e5ff0652d4..811dba5dba87c66cd81d42fa9bf2f1fe3f9b47c4 100644 (file)
@@ -92,6 +92,13 @@ public:
        };
 
        void    AddInterpolator(KX_IInterpolator* interp);
+       
+       
+#ifdef WITH_CXX_GUARDEDALLOC
+public:
+       void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_LightIpoSGController"); }
+       void operator delete( void *mem ) { MEM_freeN(mem); }
+#endif
 };
 
 #endif // KX_LIGHTIPOSGCONTROLLER_H