Campbell Barton
829a2cc1b0
remove blender foundation copyright from freestyle files.
...
this can be added back on case-by-case basis, but better not assume ownership of another projects work by default.
2013-03-31 01:11:07 +00:00
Tamito Kajiyama
4a92d82626
A big code clean-up patch from Bastien Montagne, many thanks!
2013-03-07 23:17:23 +00:00
Tamito Kajiyama
ad7c43744c
Added GNU GPL header blocks.
2013-02-23 18:32:28 +00:00
Tamito Kajiyama
47960a3d8a
Minor docstring fixes.
2013-02-23 03:07:19 +00:00
Tamito Kajiyama
68b0a8e390
Freestyle Python API improvements - part 7.
...
Fix for PyGetSetDef and proper handling of keyword arguments were done in
UnaryPredicate0D, UnaryPredicate1D, BinaryPredicate1D, and StrokeShader classes.
Style modules were updated accordingly. Additional code clean-up was also made.
2013-02-23 01:12:23 +00:00
Tamito Kajiyama
f510faed6c
Python API documentation updates: a description of class hierarchy
...
was added to the docstrings of most Python extension types.
2010-08-12 12:17:47 +00:00
Tamito Kajiyama
db158b42de
Documentation updates: Replaced "string" with "str".
2010-05-28 18:42:11 +00:00
Tamito Kajiyama
d7e08f2d33
Major documentation updates. The original Freestyle API reference
...
(http://freestyle.sourceforge.net/doc/html/index.html ) has been
incorporated into the Blender/Freestyle Python API implementation
in the form of Sphinx-based embedded docstrings. Some C++-specific
descriptions of classes and functions were revised so that they are
suitable for Python programmers. Missing docstrings were filled,
and sparse descriptions were extended. By means of the new
documentation system for Blender, an up-to-date Freestyle Python
API reference will be part of the Blender 2.5 documentation.
2010-04-17 23:47:47 +00:00
Tamito Kajiyama
d131a8db48
Replaced PyObject_HEAD_INIT(NULL) with PyVarObject_HEAD_INIT(NULL, 0)
...
in the definitions of Python wrappers.
2010-04-08 01:13:54 +00:00
Tamito Kajiyama
069d21dddf
Made the Freestyle Python API compatible with Python 3.
2009-09-27 00:32:20 +00:00
Tamito Kajiyama
acfd7c82ab
Relaxed type checking concerning boolean arguments in class constructors
...
and __call__ methods so that not only True and False but also various
other boolean expressions (e.g., 0, 1, and None) are accepted.
2009-04-03 20:03:09 +00:00
Tamito Kajiyama
a377b74638
Improvements on error handling in the Python API.
2009-03-29 21:50:10 +00:00
Maxime Curioni
e385d69580
soc-2008-mxcurioni: Made crucial corrections to stabilize the system. Most of the original styles are supported: stroke attributes are correctly taken into account, Python shaders are supported. Added SamplingShader.
2008-08-02 07:39:49 +00:00
Maxime Curioni
362e4f763f
soc-2008-mxcurioni: implemented and integrated all 21 original stroke shaders.
2008-07-27 13:40:33 +00:00
Maxime Curioni
a9789d90ae
soc-2008-mxcurioni: renamed all Freestyle API related files with 'BPy_' prefix to avoid library name collision.
...
Included MediumType's initialization at proper time to avoid Blender's crash.
2008-07-23 07:56:08 +00:00