Freestyle: minor optimization for space from mesh importing to feature edge detection.
[blender.git] / source / blender / freestyle / intern / view_map / FEdgeXDetector.h
index 8170fc5baab26d6421ce6479ece76f096e0b831c..9087d05939a6a3cd46decf9de7a1acba985cbf9c 100644 (file)
@@ -58,7 +58,9 @@ public:
                _pProgressBar = NULL;
                _pRenderMonitor = NULL;
                _computeViewIndependent = true;
                _pProgressBar = NULL;
                _pRenderMonitor = NULL;
                _computeViewIndependent = true;
+#if 0
                _bbox_diagonal = 1.0;
                _bbox_diagonal = 1.0;
+#endif
                _meanEdgeSize = 0;
                _computeRidgesAndValleys = true;
                _computeSuggestiveContours = true;
                _meanEdgeSize = 0;
                _computeRidgesAndValleys = true;
                _computeSuggestiveContours = true;
@@ -211,7 +213,9 @@ public:
 
 protected:
        Vec3r _Viewpoint;
 
 protected:
        Vec3r _Viewpoint;
+#if 0
        real _bbox_diagonal; // diagonal of the current processed shape bbox
        real _bbox_diagonal; // diagonal of the current processed shape bbox
+#endif
        //oldtmp values
        bool _computeViewIndependent;
        real _meanK1;
        //oldtmp values
        bool _computeViewIndependent;
        real _meanK1;