Fix for a crash in curvature calculation due to a WVertex with no associated edges.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sat, 26 Jan 2013 18:53:16 +0000 (18:53 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sat, 26 Jan 2013 18:53:16 +0000 (18:53 +0000)
commit7ae0c936fa070da0bf10782e77c4500bf9bd57a8
treed1fe81d857919409f43fa5e68c3299ee509326ab
parent7f721d06aaf48dd543441f4022c5c59fda0d13b8
Fix for a crash in curvature calculation due to a WVertex with no associated edges.
(TODO: identify the reason why such a strange WVertex is generated.)
Problem report by Vicente Carro with a .blend for reproducing the issue.  Thanks a lot!
source/blender/freestyle/intern/winged_edge/Curvature.cpp