Freestyle: minor optimization for space from mesh importing to feature edge detection.
[blender.git] / source / blender / freestyle / intern / winged_edge / WingedEdgeBuilder.cpp
index df990a3468f35f4b54bfd209a2ce24b52c734d02..2be46abc87deb9e36de8b0d8b43d4acb5a89dd46 100644 (file)
@@ -177,10 +177,12 @@ bool WingedEdgeBuilder::buildWShape(WShape& shape, IndexedFaceSet& ifs)
        if (shape.GetFaceList().size() == 0) // this may happen due to degenerate triangles
                return false;
 
+#if 0
        // compute bbox
        shape.ComputeBBox();
        // compute mean edge size:
        shape.ComputeMeanEdgeSize();
+#endif
 
        // Parse the built winged-edge shape to update post-flags
        set<Vec3r> normalsSet;