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
2012-09-27incorrect spelling in commentsCampbell Barton
2012-09-20code cleanup: remove unused macros, commet some which may be useful later - ↵Campbell Barton
or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-08-28fix bug in mathutils.geometry.intersect_point_line() where 4D vectors were ↵Campbell Barton
treated as 2D. also change behavior to return a 2d vector when all args are 2D.
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-08-25minor code cleanupCampbell Barton
2012-07-25don't pass the same value to axis_angle_to_quat() for axis & quat.Campbell Barton
-/-This line, and those below, will be ignored-- M mathutils_Quaternion.c
2012-07-17Spellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ).Bastien Montagne
2012-07-17code cleanup: spellingCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-07-04fix error in node template and quiet warning.Campbell Barton
2012-06-27utility function to get the points inside a list of planes.Campbell 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-06-06Corrected documentation for intersect_point_quad_2d to match exactly howSergey Sharybin
it works in C side: only convex quads without singularities gives predictable results.
2012-05-26add vector versions of hsv_to_rgb, rgb_to_hsv & rgb_to_hsv_compatCampbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-07Style cleanup: displist moduleSergey Sharybin
2012-05-05code cleanup: function naming for BLI functions.Campbell Barton
2012-04-30code cleanup: header cleanupCampbell Barton
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.
2012-04-22bmesh py api: expose BM_face_split_n() to the python api;Campbell Barton
face_fill(..., coords=(v1, v2, ...)) This is the same function the knife tool uses. should be handy for dicing up geometry in py.
2012-04-22correction to py docs from mgschwan on IRC.Campbell Barton
2012-04-15add 'idprop' module so we can document idprop.types.*, currently doc ↵Campbell Barton
generator has no access to ID Property types.
2012-04-10fix for too small MATHUTILS_TOT_CB when the game engine runs.Campbell Barton
2012-04-02Hopefully last change to matrix orthogonal check, touches Py API onlySergey Sharybin
- is_orthogonal now checks matrix in the same way as it's defined by linear algebra, meaning that it'll use is_orhonormal C check - Added is_orthogonal_axis_vectors to check if vectors which defines axises are orthogonal
2012-04-01Fix for is_orthogonal check which in fact was checking for orthonormal matrix.Sergey Sharybin
Separated it into two functions so now it'll be clear if check happens for orthonormal or just orthogonal.
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-27bmesh py api:Campbell Barton
added access to deform weights, access to weights acts like a python dict so you can do... print(group in dvert) dvert[group] = 0.5 print(dvert[group]) del dvert[group] print(dvert.items())
2012-03-26style cleanup: python apiCampbell Barton
2012-03-21fix for Quaternion.to_axis_angle() returning a zero axis vector.Campbell Barton
2012-03-21spelling cleanup: tesselate -> tessellate (last of these found)Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-18code cleanup: not all mathutils callback creation functions tool unsigned ↵Campbell Barton
char for type & subtype args.
2012-03-17minor mathutils code cleanup - use mathutils callbacks as unsigned chars ↵Campbell Barton
everywhere.
2012-03-17style cleanup: py/capiCampbell Barton
2012-03-15comment cleanupCampbell Barton
2012-03-14mathutils py api:Campbell Barton
Vector.angle_signed(other) for 2D vectors to get the clockwise angle between them. in BLI math its called - angle_signed_v2v2() shorthand for... atan2f((v1[1] * v2[0]) - (v1[0] * v2[1]), dot_v2v2(v1, v2)) also corrects compile error in last commit.
2012-03-13bmesh py api: more comprehensive intro page, also fix some spelling errors.Campbell Barton
2012-03-13workaround [#30480] Knife tool flickerCampbell Barton
the problem was numeric precision when in ortho mode the start/end points for the view vector would be 2000 apart which caused trouble for the intersection test.
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-04style cleanup - comment formattingCampbell Barton
2012-02-27use LIKELY/UNLIKELY macros for operations that run a lot.Campbell Barton
2012-02-25code cleanup: white space, spelling & ';;' end of lines.Campbell Barton
2012-02-24typo cleanup, no functional changes.Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-11use ValueError when vector/matrix multiplications sizes are not supported, ↵Campbell Barton
was using TypeError for mat*vec and ValueError for vec*mat.
2012-02-08correct 2 sphinx warnings.Campbell Barton
2012-02-08Correct mathutils documentation, also correct some python spelling errors ↵Campbell Barton
and add makefile target `check_spelling`