From 86572dd7c97b8d4ed91dc3a5d46297e6de02e567 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Wed, 30 Jul 2014 16:11:10 +0900 Subject: Freestyle: commented part of FEdgeXDetector::ProcessRidgeFace() that has no effect. --- source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/freestyle') diff --git a/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp b/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp index f24d921c791..f2aeee08ddf 100644 --- a/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp +++ b/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp @@ -424,6 +424,7 @@ void FEdgeXDetector::ProcessRidgeFace(WXFace *iFace) flayer->PushDotP(wxv->curvatures()->K1); } +#if 0 // XXX fabs(flayer->dotP(i)) < threshold cannot be true real threshold = 0; //real threshold = _maxK1 - (_maxK1 - _meanK1) / 20.0; @@ -436,6 +437,7 @@ void FEdgeXDetector::ProcessRidgeFace(WXFace *iFace) flayer->ReplaceDotP(2, 0); } } +#endif } #if 0 -- cgit v1.2.3