Blender Git Loki

Git Commits -> Revision ba9943e

Revision ba9943e by Tamito Kajiyama (master)
July 31, 2009, 22:13 (GMT)
* Implemented Python's iterator protocol in Interface0DIterator and
orientedViewEdgeIterator.

* Simplified Python-related error handling in C++ class definitions.
The definitions of the following C++ methods were simplified and most
code segments using the C/Python API were moved to Director.cpp.

ChainingIterator::init()
ChainingIterator::traverse()
UnaryPredicate0D::operator()()
UnaryPredicate1D::operator()()
BinaryPredicate0D::operator()()
BinaryPredicate1D::operator()()
UnaryFunction0D::operator()()
UnaryFunction1D::operator()()
StrokeShader.shade()

* Moved part of the introspection-based automatic type conversion code
from BPy_Interface0DIterator.cpp and Director.cpp to BPy_Convert.cpp
for the sake of better code organization.

* Fixed an uninitialized member in StrokeVertexIterator___init__().

Commit Details:

Full Hash: ba9943e4a7a6c671e427c08fc11845168a30e86a
SVN Revision: 22096
Parent Commit: 6134a41
Lines Changed: +228, -212

22 Modified Paths:

/source/blender/freestyle/intern/python/BPy_Convert.cpp (+32, -2) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.h (+2, -2) (Diff)
/source/blender/freestyle/intern/python/BPy_Interface1D.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/python/Director.cpp (+93, -46) (Diff)
/source/blender/freestyle/intern/python/Director.h (+13, -7) (Diff)
/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp (+25, -19) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.h (+1, -0) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.cpp (+24, -2) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.h (+1, -0) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp (+2, -1) (Diff)
/source/blender/freestyle/intern/stroke/ChainingIterators.h (+2, -20) (Diff)
/source/blender/freestyle/intern/stroke/Predicates0D.h (+2, -24) (Diff)
/source/blender/freestyle/intern/stroke/Predicates1D.h (+2, -24) (Diff)
/source/blender/freestyle/intern/stroke/StrokeShader.h (+1, -10) (Diff)
/source/blender/freestyle/intern/view_map/Functions0D.h (+1, -10) (Diff)
/source/blender/freestyle/intern/view_map/Functions1D.h (+3, -21) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021