Blender Git Commit Log

Git Commits -> Revision c592ebf

Revision c592ebf by Tamito Kajiyama (master)
November 16, 2013, 22:11 (GMT)
Freestyle: a follow-up fix of trunk revision 61233. When an iterator has reached
the end, any reference of the object pointed by it will now lead to a RuntimeError
instead of returning None, with the aim of forcing Python API users to check the
end of iteration rather than implicitly indicating the error condition.

Acknowledgement to flokkievids for API discussions in the BlenderArtists.org
Freestyle for Blender thread.

Commit Details:

Full Hash: c592ebf5df4a2be3b70bd3e2f2bba0e3d5908704
Parent Commit: c239baa
Lines Changed: +38, -15

8 Modified Paths:

/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.cpp (+8, -2) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp (+4, -2) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp (+4, -2) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp (+4, -2) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.cpp (+4, -2) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp (+4, -2) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.cpp (+4, -0) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.cpp (+6, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021