[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40175] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/winged_edge/WingedEdgeBuilder.cpp: Fix for a crash reported (four months ago!) by bupla, thanks!
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Tue Sep 13 01:07:34 CEST 2011
Revision: 40175
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40175
Author: kjym3
Date: 2011-09-12 23:07:33 +0000 (Mon, 12 Sep 2011)
Log Message:
-----------
Fix for a crash reported (four months ago!) by bupla, thanks!
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.cpp
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.cpp 2011-09-12 19:03:24 UTC (rev 40174)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.cpp 2011-09-12 23:07:33 UTC (rev 40175)
@@ -181,6 +181,8 @@
++wv){
if((*wv)->isBoundary())
continue;
+ if ((*wv)->GetEdges().size() == 0) // This means that the WVertex has no incoming edges... (12-Sep-2011 T.K.)
+ continue;
normalsSet.clear();
WVertex::face_iterator fit = (*wv)->faces_begin();
WVertex::face_iterator fitend = (*wv)->faces_end();
More information about the Bf-blender-cvs
mailing list