Revision: 44265
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44265
Author: kjym3
Date: 2012-02-19 21:07:32 +0000 (Sun, 19 Feb 2012)
Log Message:
-----------
Fix for a bug in the computation of smooth edges (used for ridges and valleys).
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WXEdge.h
Modified:
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WXEdge.h
===================================================================
---
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WXEdge.h
2012-02-19 20:59:46 UTC (rev 44264)
+++
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WXEdge.h
2012-02-19 21:07:32 UTC (rev 44265)
@@ -296,11 +296,11 @@
updateDotPInfos();
}
inline void updateDotPInfos() {
+ _nPosDotP = 0;
+ _nNullDotP = 0;
for(vector<real>::iterator d=_DotP.begin(), dend=_DotP.end();
d!=dend;
++d){
- _nPosDotP = 0;
- _nNullDotP = 0;
if((*d) > 0)
++_nPosDotP;
if((*d) == 0)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs