Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-22Cleanup: unused defineCampbell Barton
2017-09-09Docs: mathutils docstringsCampbell Barton
2017-09-09Cleanup: mathutils vector commentsCampbell Barton
Use doxy markup & correct outdated info.
2017-09-09Correct last commitCampbell Barton
2017-09-09Cleanup: Simplify SWIZZLE macroCampbell Barton
- Use indices instead of character args. - Use numbered macros instead of variadic args. Parsing using rtags used over 11gb of memory. While this should be resolved upstream (report as #1053), the extra complexity didn't give any real advantage.
2017-08-20PyAPI: Make use of PyC_LongAs... APICampbell Barton
Avoids setting exceptions inline, also use Matrix_ParseAny for bmesh.ops. Some inline exceptions are kept because they show useful details.
2016-07-31Cleanup: reduce Vector_getseters size using macrosCampbell Barton
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2016-01-21Correct comments & some explanation from last commitCampbell Barton
2016-01-21Remove errors for unsupported math operationsCampbell Barton
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-03-06PyAPI: clarify fallback docstringCampbell Barton
2015-02-15missed this second last commitCampbell Barton
2015-02-15mathutils: Implement __hash__() functionsCampbell 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-15mathutils: add freeze() method, is_frozen attrCampbell Barton
This allows you to make any mathutils object immutable.
2015-02-15mathutils: remove redundant read callbackCampbell Barton
2015-02-15mathutils: avoid extra alloc for Vector.lerpCampbell Barton
2015-02-01Documentation: updated mathutils documentationSybren A. Stüvel
Added descriptions of the constructors, and improved the module-level documentation.
2015-01-29Revert "mathutils: let Vector.normalize() return the original length."Campbell Barton
Please discuss changes to core mathutils functions first. Changes like this should be considered and applied to all areas of the API (or not at all). Missed quaternion, matrix normalize for eg.
2015-01-29mathutils: let Vector.normalize() return the original length.Sybren A. Stüvel
The length has to be calculated for normalization anyway, and it is already returned by normalize_vn(vec, size).
2015-01-04mathutils: refactor instantiationCampbell 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-07-23Extended mathutils.Vector.orthogonal() to accept a 2D vector.Tamito Kajiyama
Reviewer: Campbell Barton Differential revision: https://developer.blender.org/D668
2014-04-18Change Vector.slerp to accept nonunit vectorsCampbell Barton
2014-03-31Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functionsCampbell Barton
2014-03-31Fix for error in normalize_vn_vn(), add len_squared_vnCampbell Barton
2014-03-17Python API: add Vector.orthogonal() methodCampbell Barton
2014-02-05PyAPI: mathutils.Vector.cross now works for 2d vectors (returns a float)Campbell Barton
also fixed crash when running on large vectors (raises exception now)
2014-01-30Fix T38402: invalid message for bad type assignments (Quat, Vector)Campbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-09Fix T38138: incorrect API docsCampbell Barton
2013-10-12code cleanup: use const's for vector args.Campbell Barton
2013-09-14minor changes needed for building standalone mathutils.Campbell Barton
2013-08-20fix incorrect docs [#36518] Vector.rotate() does not return value as documentedCampbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2012-12-08ifdef out dynstr so mathutils can be compiled as an external module again.Campbell Barton
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
2012-11-05default 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.
2012-11-04code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵Campbell Barton
files since its done throughout the code in some places.
2012-10-21style cleanup: commentsCampbell Barton
2012-09-27incorrect spelling in commentsCampbell Barton
2012-08-27support unary positive operators for vectors (same as numpy), so you can do ↵Campbell Barton
'vector_a = +vector_b', this makes a copy.
2012-07-17code cleanup: spellingCampbell Barton
2012-06-26fix for a handful of memory leaks relating to parsing and allocating ↵Campbell Barton
arbitrary sized vectors from python args. Vector.dot() was always leaking memory, and would crash if args sizes didnt match. These errors were introduced with n-dimensional vector support. also fixed an error with bmesh py api allocation.
2012-06-26mathutils.Vector(kw=value) wasn't raising an error as it should.Campbell Barton
2012-06-17style cleanup:Campbell Barton
also fix for building ghost test and fix double free in one of the tests
2012-06-11Fixing first part of [#31760] Assignments not working properly for ↵Bastien Montagne
Object.dimensions Problem was in fact that non-linear-contiguous axis assignement was broken (i.e. location.xy would work as expected, but location.xz would only affect .x part)... Now all possibilities should work fine. Did not try to fix the problem specific to obj.dimension (when assigning multiple times to this array, only the last one is taken into account - in fact, a simple print() shows that assigning to dimension is not taken into account immediately), not sure whether this is normal behavior, or if we need a specific "update" of some kind for this prop?
2012-04-15add 'idprop' module so we can document idprop.types.*, currently doc ↵Campbell Barton
generator has no access to ID Property types.
2012-03-30patch to add __deepcopy__ to mathutils types, this is no different to ↵Campbell Barton
__copy__, except some py utilities expect __deepcopy__ to exist, so better have them.
2012-03-26style cleanup: python apiCampbell Barton