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-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`
2012-02-02Fix for possible memory leak on creation of a vector using Vector.Range.Andrew Hale
It was possible to allocate an array of size<2 which would then raise an error on vector creation without freeing. Fix to ensure the behaviour of Vector.Range was the same as for builtin range() function. When specifying 3 arguments, the step argument wasn't being used to correctly calculate the vector size. Minor formatting edits for error messages.
2012-02-01Fixes to Python matrices str function.Andrew Hale
1) The width of columns was incorrectly determined on windows, fixed by increasing the size of the dummy buf. 2) Added additional brackets to string for consistent formatting
2012-01-31apply back changes made since moving this file.Campbell Barton
2012-01-31svn cp \Campbell Barton
https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/python/generic/noise_py_api.c@r42248 \ https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/python/mathutils/mathutils_noise.c
2012-01-31previous move lost history on this file, restoring next commit.Campbell Barton
2012-01-24Add the .Identity() classmethod to mathutils matrices. This allows the userAndrew Hale
to create an identity matrix of a specific size without having to specify all the values in the matrix and then use the .identity() method.
2012-01-16middle mouse jump scrolling for text window.Campbell Barton
2012-01-16Change function for nb_invert so that ~matrix returns the inverted matrix ↵Andrew Hale
rather than inverting inplace.
2012-01-03fixes to mathutils from Andew HaleCampbell Barton
- docstring edits - normalize ignores W axis as its supposed to.
2012-01-02slice and iterator access for matrix.col/row so you can do...Campbell Barton
a, b = mat.col[0:2] and... for a in mat.col: ...
2011-12-30PyAPI - remove Matrix.row_size / col_size. these were rather awkwardly ↵Campbell Barton
named, but its more clear to use len(). mat.col_size --> len(mat.row) mat.row_size --> len(mat.col)
2011-12-26formatting edits & minor correctionsCampbell Barton
2011-12-26fix for a bug in mathutils when a vector was accessing a matrix and the ↵Campbell Barton
matrix size increased, future access too the vector would write past the allocated bounds. now raise an exception.
2011-12-25use docstrings for mathutils getset's, also some formatting edits, no ↵Campbell Barton
functional changes.
2011-12-24picky formatting of mathutilsCampbell Barton
2011-12-24mathtils, convenience attributes added 'row' and 'col', this makes the ↵Campbell Barton
row/col swap a lot easier to deal with, since now you can still use column access previously... mat[2] = 1, 2, 3 needed to be converted into... mat[0][2] = 1 mat[1][2] = 2 mat[2][2] = 3 but with column access you can do... mat.col[2] = 1, 2, 3 Having 'row' attribute is a bit redundant since direct indexing on a matrix uses row but included for completeness.
2011-12-24fix for error with matrix access and negative indices with recent row/col swap.Campbell Barton
2011-12-24mathutils get/set function rename + minor changes to matrix functions (no ↵Campbell Barton
functional changes)
2011-12-22patch [#29534] Change Matrix Representation and Access in Python to Conform ↵Campbell Barton
with Standard Notation from Andrew Hale Scripts which access matrix row/columns directly and scripts that create new matrices with elements defined will need updating. For more info see... * Guide for updating scripts http://wiki.blender.org/index.php/User:TrumanBlending/Matrix_Indexing * Discussion thread http://markmail.org/message/4bpqpxkcvq4wjyfu