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
2015-10-20BLI: add new 'memory_utils' module with func checking a whole memory chunk ↵Bastien Montagne
is filled of zero, and an helper to ensure all memory of a given structure passed a given member is filled of zero.
2015-10-18Fix T46531: Cannot use % in filenames.Bastien Montagne
Same case as with space char really, one should not use those special chars in filenames, but they are globally supported by all current FS/OS, so no real reason to enforce that behvior on users here. To be backported to 'a' release.
2015-10-18BLI_task: fix bad freeing of current task_thread in case POSIX thread ↵Bastien Montagne
creation fails. Trying to MEM_free a single item of a whole MEM_calloc'ated array, tsst... Luckily looks like POSIX thread creation does not fail often! :P
2015-10-17correct own error in rectangle clampingCampbell Barton
2015-10-17Cleanup: warningsCampbell Barton
- remove NULL checks for args already set as ATTR_NONNULL. - double promotion.
2015-10-17Cleanup: BLI_path commentsCampbell Barton
2015-10-17Cleanup: remove unused BLI_string_to_utf8Campbell Barton
2015-10-16BLI_rect: add BLI_rctf_clampCampbell Barton
Clamp one rect within another. This is done inline in the UI code, which gets verbose.
2015-10-16Cleanup: redundant struct qualifiersCampbell Barton
2015-10-15Fix crash pressing +/- in file-selectorCampbell Barton
Filenames over 128 chars would crash. Move BLI_newname into file_ops, this was only used in one place and isn't all that re-usable. Also remove special behavior for 4 digits.
2015-10-15BLI_math: isect_ray_plane_v3 now takes 4d planeCampbell Barton
Was taking a triangle and doing ray-tri intersect.
2015-10-15Error in last commitCampbell Barton
2015-10-15Error in last commitCampbell Barton
2015-10-15BLI_math: add normalize_m#_ex functionsCampbell Barton
Useful when we need to use the axis lengths too.
2015-10-15Fix T45900: Allow again white spaces in file names.Bastien Montagne
Should probably be added to 'a' release, should we do one...
2015-10-11Fix T46085: UV project modifier artifacts with vertices behind the camera.Brecht Van Lommel
2015-10-11Fix warnings and remove casts by adding copy_vx_vx_uchar() functions.Brecht Van Lommel
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-10-09BLI_math: add mat3_polar_decompose, interp_m3_m3m3 and interp_m4_m4m4.Bastien Montagne
mat3_polar_decompose gives the right polar decomposition of given matrix, as a pair (U, P) of matrices. interp_m3_m3m3 uses that polar decomposition to perform a correct matrix interpolation, even with non-uniformly scaled ones (where blend_m3_m3m3 would fail). interp_m4_m4m4 just adds translation interpolation to the _m3 variant.
2015-10-09BLI: add SVD solver for mat3 (using eigen3).Bastien Montagne
2015-10-08Off by one error in own recent commitCampbell Barton
2015-10-08BLI_path api, minor changes to CWD handlingCampbell Barton
- BLI_current_working_dir's return value must be checked, since it may fail. - BLI_current_working_dir now behaves like getcwd, where a too-small target will return failure. - avoid buffer overrun with BLI_path_cwd, by taking a maxlen arg.
2015-10-07Cleanup: spellingCampbell Barton
2015-10-04Fix (unreported) broken export of timecodes in SubRip VSE exporter.Bastien Montagne
Would write 1.04 seconds as `00:00:01,40` instead of `00:00:01,040`... Anyway, we already have BLI API for timecodes, much better to add SubRip timecode format there, heavily simplifies code. To be backported to final 2.76.
2015-10-04Correct last commit, picky type warningsCampbell Barton
2015-10-04Correct last commit, check before freeingCampbell Barton
2015-10-04BLI_Buffer: add BLI_buffer_reinitCampbell Barton
Useful for re-using a buffer when the existing data can be thrown away.
2015-10-04BLI_Buffer: support over 2gb allocationsCampbell Barton
Also move comment to C-source and enumerate useful features.
2015-10-04BLI_Buffer: fix BLI_buffer_resize w/ calloc flagCampbell Barton
When resizing, zero memory when the calloc flag is set, even when no realloc is done.
2015-09-24Quiet warningCampbell Barton
2015-09-22Cleanup: indentationCampbell Barton
2015-09-18Use squared length where possibleCampbell Barton
2015-09-16Fix T45389 Windows thumbnails not working.Antony Riakiotakis
Also they did not work when using blender -R from command line in 64-bit systems. Issue was checking for wrong define which would cause code to detect if the blender executable functions under 32 bit emulation. For 64bit executables this is false, leading blender to believe we are operating under a 32bit system, and registration would try to register the 32bit thumbnailer. This 32 bit dll is (correctly) missing for local installs and from the new installer, thus no thumbnails.
2015-09-13Cleanup: spellingCampbell Barton
2015-09-09Fix T46056: User Preferences-> install from File freezes Blender.Bastien Montagne
Own stupid error in recent fix for buffer overflow in `BLI_testextensie_glob()`... Also found & fixed another potential buffer overflow in this func.
2015-09-07Fix beautiful textbook case of string overflow in `BLI_testextensie_glob`...Bastien Montagne
2015-09-05Math Lib: isect_plane_*_v3 avoid negationCampbell Barton
Unmeasurable speedup for plane intersection.
2015-09-05Math Lib: simplify isect_plane_plane_v3Campbell Barton
Unlike the 3 plane method, the 2 planes squared cross-product _is_ the determinant.
2015-09-04Fix for isect_tri_tri_epsilon_v3 w/ small facesCampbell Barton
tris with ~1e-05 edge lengths would fail
2015-09-04Math Lib: Use plane intersect from graphics-gemsCampbell Barton
2015-09-04Math Lib: avoid sqrt w/ triangle intersectionCampbell Barton
2015-09-04Correct own error in line_point_factorCampbell Barton
Passing zero epsilon allowed divide by zero.
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-03Small tri intersect fails when not normalizedCampbell Barton
Logic was ok, but would run into precision issues.
2015-08-31Revert fix for T45849 (part 2, tsk!)Campbell Barton
2015-08-31error in commentsCampbell Barton
2015-08-31Alternate fix for T45849: tri-tri intersect errorCampbell Barton
Project both triangles onto the same plane to simplify calculations.
2015-08-31Revert fix for T45849, alternate fix coming upCampbell Barton
epsilon check here didn't account for scale, causing T45919
2015-08-31Math Lib: Add closest_to_plane helper functionsCampbell Barton
- closest_to_plane3 (for float3 planes) - closest_to_plane*_normalized_v3 (for unit length planes) Use when the plane is known to be unit length
2015-08-25Fix T45853: Edge-slide UV-correct jitterCampbell Barton