Blender Git Commit Log

Git Commits -> Revision a482f64

Revision a482f64 by Maxime Curioni (master)
July 30, 2008, 01:51 (GMT)
soc-2008-mxcurioni: Tested SWIG-less environment more and understood why the former predicate methods were not working. As Stéphane had mentioned a few months ago, Freestyle uses SWIG directors to provide cross-language polymorphism. The API and the system I had provided did not support that feature and only implementations in C++ were supported. To correct the problem, after researching how directors are implemented in SWIG, I provided the same functionality. So far, I only provided the code for the UnaryPredicate1D class and it works. The implementation is in intern/python/Director.cpp and Operators.cpp. I will port the remaining directors tonight and continue to test it.

To prevent strokes from piling up after each render, I clear the canvas at each render now (as it should have been all along)

Commit Details:

Full Hash: a482f644242456ad6ddf0306e1b37d8855342103
SVN Revision: 15877
Parent Commit: 7d5eaa6
Lines Changed: +94, -15

2 Added Paths:

/source/blender/freestyle/intern/python/Director.cpp (+12, -0) (View)
/source/blender/freestyle/intern/python/Director.h (+34, -0) (View)

9 Modified Paths:

/source/blender/freestyle/intern/app_blender/api.cpp (+1, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.cpp (+9, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.h (+4, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Operators.cpp (+5, -1) (Diff)
/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/Iterator/BPy_ChainSilhouetteIterator.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/stroke/Predicates1D.h (+18, -3) (Diff)
/source/blender/freestyle/style_modules_blender/freestyle_init.py (+3, -3) (Diff)
/source/blender/freestyle/style_modules_blender/logical_operators.py (+6, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021