Blender Git Commit Log

Git Commits -> Revision 96e52b0

Revision 96e52b0 by Maxime Curioni (master)
July 15, 2008, 01:07 (GMT)
soc-2008-mxcurioni: Reimplemented the Freestyle Python API's files to be correctly used as classes and not submodules. Added and integrated object lifecycle functions (__new__, __alloc__, __repr__) for the previous classes: BinaryPredicate0D, BinaryPredicate1D, Id, Interface0D, Interface1D. All of these classes were tested within Blender's Python interpreter with simple test cases and their getter/setters were corrected.

Interface0DIterator was modified to allow BPy_Interface1D to be instantiated: verticesBegin(), verticesEnd(), pointsBegin(float) and pointsEnd(float) are not pure virtual functions anymore. If they are called directly from BPy_Interface1D (instead of its subclasses), an error message is displayed.

Commit Details:

Full Hash: 96e52b09da9c808a6d10526f2115178e8499ebec
SVN Revision: 15578
Parent Commit: 8398730
Lines Changed: +459, -239

14 Modified Paths:

/source/blender/freestyle/intern/python/BinaryPredicate0D.cpp (+69, -40) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate0D.h (+1, -1) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate1D.cpp (+69, -41) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate1D.h (+1, -2) (Diff)
/source/blender/freestyle/intern/python/Convert.cpp (+11, -1) (Diff)
/source/blender/freestyle/intern/python/Convert.h (+4, -0) (Diff)
/source/blender/freestyle/intern/python/Freestyle.cpp (+11, -11) (Diff)
/source/blender/freestyle/intern/python/Id.cpp (+109, -56) (Diff)
/source/blender/freestyle/intern/python/Id.h (+1, -2) (Diff)
/source/blender/freestyle/intern/python/Interface0D.cpp (+82, -35) (Diff)
/source/blender/freestyle/intern/python/Interface0D.h (+1, -2) (Diff)
/source/blender/freestyle/intern/python/Interface1D.cpp (+80, -43) (Diff)
/source/blender/freestyle/intern/python/Interface1D.h (+1, -1) (Diff)
/source/blender/freestyle/intern/view_map/Interface1D.h (+19, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021