Blender Git Loki

Git Commits -> Revision 7387d66

October 15, 2014, 11:06 (GMT)
Freestyle: Fix for StrokeVertexIterator.__next__() ignoring the first and only element.

A StrokeVertexIterator ignores the first element when it is the only element.
Such an iterator can be created by the .incremented() method from an iterator
over two stroke vertices.

This problem is a regression from 2.71. The present fix is appropriate to backport
if Blender 2.72a is planned.

Problem report by Kazuhiro Murakawa through personal communications, thanks!

Commit Details:

Full Hash: 7387d66f1d2309c7aace97fe3019941a63dcfb5a
Parent Commit: 1b01435
Committed By: Sergey Sharybin
Lines Changed: +23, -11

2 Modified Paths:

/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp (+9, -3) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp (+14, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021