Blender Git Loki

Git Commits -> Revision 3010f2b

Revision 3010f2b by Maxime Curioni (master)
July 31, 2008, 08:50 (GMT)
soc-2008-mxcurioni: the native Python system now supports cross-language polymorphism for the following classes: BinaryPredicate0D (__call__), BinaryPredicate1D (__call__), UnaryPredicate0D (__call__), UnaryPredicate1D (__call__), StrokeShader (shade), ChainingIterator (init, traverse).

Other methods could easily be supported in the future. The method now works as planned for the contour style. For style modules with Python shaders, there still is a problem that I will fix right away.

Commit Details:

Full Hash: 3010f2b753f2397256861816504b8e7d697632db
SVN Revision: 15889
Parent Commit: a482f64
Lines Changed: +325, -131

21 Modified Paths:

/source/blender/freestyle/intern/python/BPy_BinaryPredicate0D.cpp (+2, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_BinaryPredicate1D.cpp (+1, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.cpp (+9, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.h (+1, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Operators.cpp (+13, -13) (Diff)
/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp (+1, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryFunction0D.h (+1, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryFunction1D.h (+1, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryPredicate0D.cpp (+1, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp (+1, -0) (Diff)
/source/blender/freestyle/intern/python/Director.cpp (+78, -4) (Diff)
/source/blender/freestyle/intern/python/Director.h (+49, -18) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp (+2, -0) (Diff)
/source/blender/freestyle/intern/stroke/ChainingIterators.h (+33, -5) (Diff)
/source/blender/freestyle/intern/stroke/Predicates0D.h (+28, -6) (Diff)
/source/blender/freestyle/intern/stroke/Predicates1D.h (+19, -12) (Diff)
/source/blender/freestyle/intern/stroke/Stroke.h (+1, -0) (Diff)
/source/blender/freestyle/intern/stroke/StrokeShader.h (+13, -2) (Diff)
/source/blender/freestyle/intern/view_map/Functions0D.h (+1, -1) (Diff)
/source/blender/freestyle/intern/view_map/Functions1D.h (+1, -1) (Diff)
/source/blender/freestyle/style_modules_blender/freestyle_init.py (+69, -69) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021