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
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-25Correction to the previous commitSergey Sharybin
2014-03-25Fix T38870: Freezes when jumping in front of a keyframe.Sergey Sharybin
Issue was caused by inverting a degenerate matrix when evaluating drivers. Solved by using tweaked inverse code (same as used in Cycles). Should have no affect on cases when matrix is not degenerate.
2014-02-01Math lib: simplify size_to_mat4 and use in b_bone_spline_setupCampbell Barton
2014-01-05Text3d: selection in editmode now follows rotated text along pathCampbell Barton
2013-12-05Code Cleanup: use strict flags for math lib, add inline declarationsCampbell Barton
2013-12-04Code Cleanup: correct fabsf/fabs/abs useCampbell Barton
2013-10-26correct typoCampbell Barton
2013-10-20Code cleanup: added generic function copt_m3_m3dSergey Sharybin
2013-10-19Move utility functions from mball to mathutilsSergey Sharybin
2013-09-11Fix #36701: Mask pivioting doesnt honor parentingSergey Sharybin
Made mask transformation aware of parent matrix.
2013-08-06Add assert to mul_v3_m3v3 and mul_v2_m3v3,Sergey Sharybin
So they're not likely to be called with bad arguments.
2013-07-30function renaming for own recently added BLI_math functions, suggested by ↵Campbell Barton
Brecht.
2013-07-26fix [#36282] Spin error with non uniform scaleCampbell Barton
add support for passing object matrix to bmesh transform operators.
2013-07-26optimization: call one bmesh operator for rotate (not 3).Campbell Barton
added pivot_m4() utility function since rotating about an arbitrary point is handy.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-16correct own incorrect check bmesh edgerin subdivide, also add missing break ↵Campbell Barton
in orthogonalize_m3 though this one wouldn't effect release builds.
2013-07-13fix for orthogonalize_m3,4, missing break statements in switch.Campbell Barton
2013-07-10no need to copy mat4x4 -> 3x3 in mat4_to_scaleCampbell Barton
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-12Fix #35319: python 2x2 matrix inverse and adjugate were wrong.Brecht Van Lommel
2013-05-08add matrix multiply for projection that outputs 2d values.Campbell Barton
2013-04-18Support object scale for mesh display options. (currently only uniform scale ↵Campbell Barton
for thickness test)
2013-04-16Blender Internal Render in viewportTon Roosendaal
Because of our release soon, feature has been added behind the Debug Menu. CTRL+ALT+D and set it to -1. Or commandline --debug-value -1. When debug set to -1, you can put the viewport to 'render' mode, just like for Cycles. Notes for testers: (and please no bugs in tracker for this :) - It renders without AA, MBlur, Panorama, Sequence, Composite - Only active render layer gets rendered. Select another layer will re-render. - But yes: it works for FreeStyle renders! - Also does great for local view. - BI is not well suited for incremental renders on view changes. This only works for non-raytrace scenes, or zoom in ortho or camera mode, or for Material changes. In most cases a full re-render is being done. - ESC works to stop the preview render. - Borders render as well. (CTRL+B) - Force a refresh with arrow key left/right. A lot of settings don't trigger re-render yet. Tech notes: - FreeStyle is adding a lot of temp objects/meshes in the Main database. This caused DepsGraph to trigger changes (and redraws). I've prepended the names for these temp objects with char number 27 (ESC), and made these names be ignored for tag update checking. - Fixed some bugs that were noticable with such excessive re-renders, like for opening file window, quit during renders.
2013-03-09add inline function mul_project_m4_v3_zfac() to get the z-depth value from a ↵Campbell Barton
vector & mat4x4
2013-03-09code cleanup: was using var named 'in' for output.Campbell Barton
2013-03-09code cleanup: move runtime var zfac out of RegionView3D. rename initgrabz() ↵Campbell Barton
-> ED_view3d_calc_zfac() and have it return the zfac to use.
2013-02-12code cleanup: some style edits, also allow mul_v2_m2v2() to have the same ↵Campbell Barton
value as in-out, since this is a convention for existing matrix functions.
2013-02-12Old bug fix: Uv smart stitch failed to detect angle if islands wereAntony Riakiotakis
rotated close to 180 degrees and there were edges both below and above the 180 degree threshhold. Separating and averaging the negative and positive angles seems to solve the issue making the tool a bit more robust ;)
2013-02-09code cleanup: use const for matrix functions vector args.Campbell Barton
2013-01-30correction to r54188, also don't attempt to triangulate triangles.Campbell Barton
2013-01-29skip calculating the normal for each face when triangulating, all callers ↵Campbell Barton
make sure its valid. also remove some commented code (more then one generation of bmesh old).
2013-01-23Fix normalize_m4_m4 not working correct by not copying the entire matrix,Brecht Van Lommel
caused issue in blender internal with recent fix.
2013-01-23math: Add functions to decompose transformation matricesSergej Reich
mat4_decompose() is similar to mat4_to_loc_rot_size() but returns rotation as quaternion. mat4_to_loc_quat() just returns location and rotation without size.
2013-01-12code cleanup: style and replace (float)sin, (float)cos with sinf, cosfCampbell Barton
2012-12-23fix for bug where weight paint would draw hidden faces but not draw then ↵Campbell Barton
with the backbuffer (depth selection).
2012-12-15style cleanup: stop the style checker script from complaining about '!*ptr'Campbell Barton
2012-12-15Fix #33497: seting object scale to 0 on one axis made moving verts in edit modeBrecht Van Lommel
impossible. In this case matrix inversion failed and didn't give a useful result. Now it falls back to a pseudoinverse in that case, so that moving along the other axes still works. There may be other places that can benefit from this, but this is a place where it has no significant performance impact, doing this in general for e.g. bone matrices could be quite slow.
2012-12-14add assert if both args to invert_m4_m4 are the same.Campbell Barton
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-11-07fix [#33106] Decimate modifier/collapse give bad resultCampbell Barton
FLT_EPSILON was too small to use when checking if the edge collapse result is an error. add invert_m3_m3_ex(), invert_m3_ex() functiosn which take an epsilon to check the determinant, saves calculating it twice per edge collapse.
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-29py api: add mathutils.Matrix adjugate(d) methods, also add adjoint_m2_m2() ↵Campbell Barton
to BLI_math_matrix
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-21style cleanup: commentsCampbell Barton
2012-09-16Few cleanup in matrix mathutils (make mul_m3_m3m4 and mul_m4_m3m4 consistant ↵Bastien Montagne
with other similar funcs, mainly copy-safe [i.e. you can use the same matrix as operand and result, saves lines in some already over-complicated code!]).
2012-07-18fix incorrect assert for mask face checking, also correct own bad spellingCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-05-01Fix #31193: Normals don't have any Z componentSergey Sharybin
Issue was caused by heavily non-uniform scale applied on object. Run scale correction on face and vertex normals draw if there's non-uniform scale.
2012-04-29style cleanup: whitespace / commasCampbell Barton