Commit: 86572dd7c97b8d4ed91dc3a5d46297e6de02e567
Author: Tamito Kajiyama
Date:   Wed Jul 30 16:11:10 2014 +0900
Branches: master
https://developer.blender.org/rB86572dd7c97b8d4ed91dc3a5d46297e6de02e567

Freestyle: commented part of FEdgeXDetector::ProcessRidgeFace() that has no 
effect.

===================================================================

M       source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp

===================================================================

diff --git a/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp 
b/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp
index f24d921..f2aeee0 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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to