Fix #37092 and #37381: crashes in the .object() method of Freestyle iterators.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Tue, 12 Nov 2013 02:28:26 +0000 (02:28 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Tue, 12 Nov 2013 02:28:26 +0000 (02:28 +0000)
commitef1bc03fce51e2d79551ae87f2f8c7af8f0c6295
tree3aebe75f81c63213b9dc6be4f8b2d52c7a46bcb3
parent59e46005261ea2739fe3d3009ac7cc43fdfa6833
Fix #37092 and #37381: crashes in the .object() method of Freestyle iterators.
Now the method checks if the iterator is at the end, and returns None if that is the case.
source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.cpp
source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp
source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp
source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.cpp
source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.cpp