Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-07 | Cleanup: Python, Clang-Tidy else-after-return fixes | Sybren A. Stüvel | |
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/python` module. No functional changes. | |||
2020-07-14 | PyAPI: support element multiplication for vector, matrix, quaternions | Campbell Barton | |
This was disabled during 2.8x for smooth porting of 2.7x scripts, Now '@' is used for matrix multiplication, support '*' to multiple vector elements. See T56276. | |||
2020-06-22 | Python: support building again version 3.9 (unreleased) | Campbell Barton | |
Resolves T78089, no functional changes. | |||
2020-03-19 | Cleanup: `make format` after SortedIncludes change | Dalai Felinto | |
2020-02-20 | Cleanup: use named unsigned types in the Python API | Campbell Barton | |
2019-12-20 | Cleanup: remove redundant 'char *' casts | Campbell Barton | |
2019-11-26 | PyAPI: add Quaternion.make_compatible | Campbell Barton | |
2019-11-15 | Docs: correct indent for to_swing_twist docstring | Campbell Barton | |
2019-10-16 | Cleanup: warnings building with Python 3.8 | Campbell Barton | |
2019-09-22 | Mathutils: expose the swing + twist Quaternion decomposition to Python. | Alexander Gavrilov | |
This decomposition is useful in rigging, and involves a math trick. | |||
2019-08-16 | Cleanup: spelling | Campbell Barton | |
2019-08-04 | Cleanup: spelling | Campbell Barton | |
2019-06-12 | Cleanup: spelling in comments | Campbell Barton | |
2019-04-17 | Fix T63673: Wrong api documentation for Quaternion.dot(other) | Jacques Lucke | |
2019-04-17 | ClangFormat: apply to source, most of intern | Campbell Barton | |
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-03-29 | Cleanup: style, use braces for the Python API | Campbell Barton | |
2019-02-18 | doxygen: add newline after \file | Campbell Barton | |
While \file doesn't need an argument, it can't have another doxy command after it. | |||
2019-02-06 | Cleanup: remove redundant doxygen \file argument | Campbell Barton | |
Move \ingroup onto same line to be more compact and make it clear the file is in the group. | |||
2019-02-03 | Cleanup: trailing commas | Campbell Barton | |
Needed for clan-format not to wrap onto one line. | |||
2019-02-01 | Cleanup: remove redundant, invalid info from headers | Campbell Barton | |
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-01-19 | Cleanup: add trailing commas | Campbell Barton | |
Prevents clang-format merging into a single line. | |||
2018-11-14 | Cleanup: python doc-strings | Campbell Barton | |
Indentation & trailing space. | |||
2018-09-19 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-09-19 | BLI_utildefines: rename pointer conversion macros | Campbell Barton | |
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT | |||
2018-08-22 | Cleanup: style | Campbell Barton | |
2018-08-10 | Python: Add support for @ infix operator matrix multiplication | Andrew Hale | |
This differential revision implements the code for T56276 Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3587 | |||
2018-07-16 | Fix T55527: creating a Quaternion without args should result in identity | Philipp Oeser | |
quaternion Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3487 | |||
2018-06-26 | PyAPI: move deep-copy args check to py_capi_utils | Campbell Barton | |
2017-05-20 | CMake: Use GCC7's -Wimplicit-fallthrough=5 | Campbell Barton | |
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress. | |||
2016-05-17 | C99/C++11: replace deprecated finite() by isfinite(). | Brecht Van Lommel | |
2015-10-24 | Cleanup: use quat to eul w/ mathutils API | Campbell Barton | |
2015-10-23 | BLI_math: add mat3_normalized_to_* functions | Campbell Barton | |
Many uses of matrices for rotation keep them normalized, so no need to normalize each time. | |||
2015-02-15 | missed this second last commit | Campbell Barton | |
2015-02-15 | mathutils: Implement __hash__() functions | Campbell Barton | |
- all mathutils types - only works on frozen data (so vectors can be used in sets/dict keys) - uses same method as CPython, (matches hashing a tuple) D1104 by @juicyfruit with own modifications | |||
2015-02-15 | mathutils: add freeze() method, is_frozen attr | Campbell Barton | |
This allows you to make any mathutils object immutable. | |||
2015-02-01 | Documentation: updated mathutils documentation | Sybren A. Stüvel | |
Added descriptions of the constructors, and improved the module-level documentation. | |||
2015-02-01 | mathutils: added exponential map to Quaternion | Sybren A. Stüvel | |
Added conversion to and from exponential map representation. This representation is useful for interpolation of > 2 quaternions, or in PD controllers. Implementation in C functions quat_to_expmap, quat_normalized_to_expmap, and expmap_to_quat with Python API, unit tests and documentation. Added Quaternion.to_exponential_map() and Quaternion(3-vector) to Python API. Reviewers: campbellbarton Projects: #bf_blender Differential Revision: https://developer.blender.org/D1049 | |||
2015-02-01 | Fix: correctly describing Quaternion.normalize() | Sybren A. Stüvel | |
The original comment seems to suggest that only the rotation vector is normalized, leaving the rotation angle alone. This is not what happens, though. The new comment matches the actual implementation, and the implementation matches what is commonly understood as quaternion normalization. | |||
2015-01-06 | PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RET | Campbell Barton | |
Setting all values of a tuple is such a common operation that it deserves its own macro. Also added Py_INCREF_RET to avoid confusing use of comma operator. | |||
2015-01-04 | mathutils: refactor instantiation | Campbell Barton | |
remove 'type' argument, very few mathutils objects are wrapped, add new function for creating wrapped objects. also fixes unlikely memory leak if the data-array can't be allocated. | |||
2014-12-18 | Fix mathutils docstring typos. | Tamito Kajiyama | |
2014-12-13 | Fix T42885: We still had a few wrong doc in mathutils about methods returning | Bastien Montagne | |
instance of self while actually returning None... | |||
2014-09-24 | Cleanup: use float versions of functions when in/output are floats | Campbell Barton | |
2014-01-30 | Fix T38402: invalid message for bad type assignments (Quat, Vector) | Campbell Barton | |
2013-10-12 | code cleanup: use const's for vector args. | Campbell Barton | |
2013-07-21 | code cleanup: add break statements in switch ()'s, (even at the last case). | Campbell Barton | |
2013-07-02 | remove nan copyrights from code added since blender become opensource (copy ↵ | Campbell Barton | |
paste errors), also remove BKE_script.h | |||
2013-04-07 | Fix for [#34898] Typo in error message of mathutils.Vector | Thomas Dinges | |
* Also fixed some more cases of "more then" -> "more than". | |||
2012-12-08 | ifdef out dynstr so mathutils can be compiled as an external module again. | Campbell Barton | |
2012-11-05 | default to Python3.3 on Linux for SCons and CMake, warn when building with ↵ | Campbell Barton | |
python 3.2x or older. also remove casts to keep Python3.2 warning quiet. |