diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 22:50:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-04 22:50:00 +0400 |
commit | 5129112072012b687428d574c011b08abfe0b678 (patch) | |
tree | 354abcf6f0610d8f1a372b827f298030299a1e67 /source/blender/freestyle/intern/view_map/ViewMapTesselator.h | |
parent | 78d69a1e1598f9967738c6d2f3195e2540d274d0 (diff) |
add c++/guardedalloc to more freestyle classes, also remove redundant 'public:'
Diffstat (limited to 'source/blender/freestyle/intern/view_map/ViewMapTesselator.h')
-rw-r--r-- | source/blender/freestyle/intern/view_map/ViewMapTesselator.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/view_map/ViewMapTesselator.h b/source/blender/freestyle/intern/view_map/ViewMapTesselator.h index d37d0b6e5a5..9c4d214d931 100644 --- a/source/blender/freestyle/intern/view_map/ViewMapTesselator.h +++ b/source/blender/freestyle/intern/view_map/ViewMapTesselator.h @@ -104,7 +104,6 @@ private: bool _overloadFrsMaterial; #ifdef WITH_CXX_GUARDEDALLOC -public: MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewMapTesselator") #endif }; @@ -121,6 +120,11 @@ protected: { iLine->AddVertex(v->point2D()); } + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewMapTesselator2D") +#endif + }; /*! Class to tesselate the 3D silhouette */ @@ -135,6 +139,11 @@ protected: { iLine->AddVertex(v->point3D()); } + +#ifdef WITH_CXX_GUARDEDALLOC + MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:ViewMapTesselator3D") +#endif + }; // |