8c846cccd6
Cleanup: clang-format
2020-11-09 15:47:08 +11:00
16732def37
Cleanup: Clang-Tidy modernize-use-nullptr
...
Replace `NULL` with `nullptr` in C++ code.
No functional changes.
2020-11-06 18:08:25 +01:00
9a9f39e466
Cleanup: remove redundant 'char *' casts
2019-12-20 10:42:57 +11:00
d8dbd49a2f
Cleanup: style, use braces in source/
...
Automated using clang-tidy.
2019-05-31 22:55:15 +10:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
13358d049e
Freestyle: Code cleanup, prepare for strict C++ flags
2015-03-27 18:23:31 +05:00
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
4a92d82626
A big code clean-up patch from Bastien Montagne, many thanks!
2013-03-07 23:17:23 +00:00
d38a335d47
Code clean-up and fix for typos in docstrings.
2013-02-24 02:32:56 +00:00
ad7c43744c
Added GNU GPL header blocks.
2013-02-23 18:32:28 +00:00
33f34e1a7b
Freestyle Python API improvements - part 6.
...
Fix for PyGetSetDef and proper handling of keyword arguments were done in
Function0D and Function1D classes. Additional code clean-up was also made.
2013-02-22 01:57:20 +00:00
2212564f18
Fixed invalid use of PyUnicode_FromFormat() where PyUnicode_FromString()
...
should have been used.
2010-05-23 12:10:31 +00:00
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
67ca348be3
Missing update in the last commit.
2010-04-08 01:42:39 +00:00
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
069d21dddf
Made the Freestyle Python API compatible with Python 3.
2009-09-27 00:32:20 +00:00
Maxime Curioni
0cc6f9db3d
soc-2008-mxcurioni: ported ALL 0D unary functions, representing 34 new classes. I will do the same for the 1D unary functions.
2008-07-27 06:57:46 +00:00
Maxime Curioni
995fdd9fcd
soc-2008-mxcurioni: implemented and tested unary predicates. The good news is that My approach seems to works (even though it is not fully testable as it needs Freestyle to be running). I will now port the 80 predicate subclasses left.
...
In this commit, UnaryPredicate0DDouble and its subclasses DensityF0D and LocalAverageDepthF0D are implemented and integrated in the API.
2008-07-27 03:40:37 +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