Blender Git Loki

Git Commits -> Revision e474894

Revision e474894 by Maxime Curioni (master)
July 17, 2008, 06:35 (GMT)
soc-2008-mxcurioni: SWIG removal - completed SVertex and CurvePoint classes migration. Stabilized a lot of the code for C++ -> Python conversion. Added the correct rich comparison operator and tested it. Corrected 'dupplicate' typo and changde to __copy__ for Python API.

From now on, when a set should be output (PySet_Type), it is given as a list (PyList_Type). The reason is that it doesn't really matter what we bring back to the Python interpreter. The set is guaranteed in memory on the C++ side.

For the CurvePoint class, the userdata variable is not yet ported (and will probably available as a list or a dictionary). The CurvePoint implementation works except for the initialization from other CurvePoints: somehow, the inner variables don't seem to be correctly handled. I do not know if it is a bug in Freestyle or if the CurvePoint object's state is correct for my test case. CurvePoint needs more testing.

Commit Details:

Full Hash: e4748940c0a61171d5c4e45d8d5a9637d05ac429
SVN Revision: 15609
Parent Commit: cc1a6b3
Lines Changed: +517, -523

19 Modified Paths:

/source/blender/freestyle/intern/python/BinaryPredicate0D.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/BinaryPredicate1D.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/Convert.cpp (+42, -25) (Diff)
/source/blender/freestyle/intern/python/Convert.h (+2, -2) (Diff)
/source/blender/freestyle/intern/python/Id.cpp (+25, -39) (Diff)
/source/blender/freestyle/intern/python/Interface0D.cpp (+10, -4) (Diff)
/source/blender/freestyle/intern/python/Interface0D/CurvePoint.cpp (+116, -116) (Diff)
/source/blender/freestyle/intern/python/Interface0D/CurvePoint.h (+2, -1) (Diff)
/source/blender/freestyle/intern/python/Interface0D/SVertex.cpp (+233, -250) (Diff)
/source/blender/freestyle/intern/python/Interface1D.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/Interface1D/FEdge/FEdgeSharp.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/swig/ModuleWrapper.cpp (+40, -40) (Diff)
/source/blender/freestyle/intern/view_map/Silhouette.h (+6, -6) (Diff)
/source/blender/freestyle/intern/view_map/ViewMap.h (+9, -9) (Diff)
/source/blender/freestyle/intern/winged_edge/WEdge.cpp (+10, -10) (Diff)
/source/blender/freestyle/intern/winged_edge/WEdge.h (+5, -5) (Diff)
/source/blender/freestyle/intern/winged_edge/WXEdge.h (+4, -4) (Diff)
/source/blender/freestyle/python/Freestyle.py (+8, -8) (Diff)
/source/blender/freestyle/SConscript (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021