diff options
Diffstat (limited to 'source/blender/freestyle/intern/geometry/GridHelpers.h')
-rw-r--r-- | source/blender/freestyle/intern/geometry/GridHelpers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/geometry/GridHelpers.h b/source/blender/freestyle/intern/geometry/GridHelpers.h index 57b56ca2ff4..22efdcf1d11 100644 --- a/source/blender/freestyle/intern/geometry/GridHelpers.h +++ b/source/blender/freestyle/intern/geometry/GridHelpers.h @@ -37,6 +37,10 @@ #include "../winged_edge/WEdge.h" +#ifdef WITH_CXX_GUARDEDALLOC +#include "MEM_guardedalloc.h" +#endif + namespace Freestyle { namespace GridHelpers { @@ -121,6 +125,10 @@ class Transform public: virtual ~Transform () = 0; virtual Vec3r operator()(const Vec3r& point) const = 0; + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:GridHelpers:Transform") +#endif }; inline bool insideProscenium (const real proscenium[4], const Polygon3r& polygon) |