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
2018-07-27Merge branch 'master' into blender2.8Campbell Barton
2018-07-27Fix T56074: Remove doubles creates holesCampbell Barton
Own regression when moving remove-doubles to kd-tree (seems to happen only in rare cases).
2018-07-25Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/rigidbody.c
2018-07-25Fix (unreported) potential div-by-zero in ray/bbox intersection BLI code.Bastien Montagne
Also added note that direction parameter should be normalized vector in case one intend to use returned distance values.
2018-07-24Cleanup: changes from 2.8Campbell Barton
2018-07-20Merge branch 'master' into blender2.8Bastien Montagne
2018-07-19Resolve the opposite vector ambiguity in Damped Track constraint.Alexander Gavrilov
Damped Track by specification attempts to arrive at the desired direction via the shortest rotation. However with opposite vectors there are infinitely many valid 180 degree rotations. Currently it gives up and does nothing. I think that it would be more reasonable to resolve the ambiguity arbitrarily, so that Damped Track won't have a weird dead zone. To make it more predictable I use a local axis. In addition, the singularity area vicinity has some floating point precision problems that result in significant jitter. This applies workarounds for two causes of instability. Differential Revision: https://developer.blender.org/D3530
2018-07-19Cleanup: styleCampbell Barton
2018-07-18Merge branch 'master' into blender2.8Brecht Van Lommel
2018-07-18Cleanup: Cryptomatte node style tweaks.Brecht Van Lommel
2018-07-18Compositor: Cryptomatte compositing node.Stefan Werner
This patch adds a new matte node that implements the Cryptomatte specification. It also incluces a custom eye dropper that works outside of a color picker. Cryptomatte export for the Cycles render engine will be in a separate patch. Reviewers: brecht Reviewed By: brecht Subscribers: brecht Tags: #compositing Differential Revision: https://developer.blender.org/D3531
2018-07-12Merge branch 'master' into blender2.8Campbell Barton
2018-07-12PyAPI: add undo redo handlersCampbell Barton
Useful so Python can clean up before/after undo steps.
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-22Studiolight: Spherical Harmonics WindowingJeroen Bakker
Apply Windowing on the Spherical Harmonics result. This would lead to better results.
2018-06-20Cleanup: get rid of last non-thread-safe BLI_frand random generator func.Bastien Montagne
2018-06-18Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/makesrna/intern/rna_space.c
2018-06-18Fix T55503: File browser filter not working correctly.Bastien Montagne
There were two issues here, introduced by rB66aa4af836: * Forgot to change length of some filter_glob var deep in filebrowser code. * Truncating filter_glob in general can be dangerous, generating unexpected patterns. Last point was the root of the issue here, truncating to 63 chars string left last group as 'match everything' `*` pattern. To fix that to some extent, added a new BLI_path_extension_glob_validate helper to BLI_path_util, which ensures we do not have last wildcards-only group in our pattern, when there are more than one group.
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: trailing space for BLICampbell Barton
2018-06-17Cleanup: remove unused BLI_rebase_pathCampbell Barton
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17BLI_path: add string size debug defineCampbell Barton
Off by default, only for debugging.
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17CMake: add missing headersCampbell Barton
2018-06-15Merge branch 'master' into blender2.8Bastien Montagne
2018-06-15Cleanup: some more G.main removal.Bastien Montagne
We are really starting to scratch the last bits here...
2018-06-12Math: Remove unused functions which are not safe for threadingSergey Sharybin
All areas are toy use "local" number generator, in order to keep behavior predictable and threadable. This is what BLI_rng_() API is for. There are still lots of usages of BLI_frand(), which are to be ported to BLI_rng_get_float(). but that is somewhat involved. For the time being, remove unsafe API, so new areas have zero chance using it.
2018-06-12Add utility function to help debugging concurrent usage of global RNGSergey Sharybin
Checks are disabled by default, but we need to make them enabled by porting all required areas, or by removing API which uses global RNG.
2018-06-11Merge branch 'master' into blender2.8Campbell Barton
2018-06-11path_util: avoid overflow w/ strtoll useCampbell Barton
Also style cleanup.
2018-06-11Merge branch 'master' into blender2.8Philipp Oeser
2018-06-11Fix T55140: opened image doesn't show up in movie clip editorPhilipp Oeser
atoi usage in BLI_stringdec could overflow, use strtoll instead and check valid range with INT_MIN and INT_MAX Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3452
2018-06-06Merge branch 'master' into blender2.8Campbell Barton
2018-06-06Fix BLI_ASSERT_UNIT macro w/ non-finite numbersCampbell Barton
2018-06-01Merge branch 'master' into blender2.8Campbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-06-01Cleanup: whitespaceCampbell Barton
2018-06-01Math: optimizations for 4x4x matrix inverse, multiplications.Brecht Van Lommel
In some heavy rigs matrix inverse can be 10% of computation time. This reduces it to 2% by using Eigen's optimized 4x4 matrix inverse and SSE matrix multiplication.
2018-06-01Modifiers: tiny optimizations for mesh deform, lattice, kdop.Brecht Van Lommel
2018-05-30BLI: Utils: Add Macro that compute the number of digits in integers type.Clément Foucault
Usefull if you want to create char chains to contains hashes of a certain type.
2018-05-28Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-05-27Merge branch 'master' into blender2.8Campbell Barton
2018-05-27Fix restrict error in BLI_str_format_byte_unitCampbell Barton
Don't use sprintf to append a string to it's self. Also correct BLI_str_rstrip_float_zero's return value.
2018-05-26Threads: add spinlock hit for hyperthreading processors on Windows.Brecht Van Lommel
Suggested by Percy Ross Tiglao.
2018-05-25Add number and memory size formatting throughout the UIDiego Gangl
This commit adds number formatting (thousands separator) to the baking panel. It also adds a new function to format memory sizes (KB/GB/etc) and applies it to the baking panel and scene stats. The new function is unit tested. Reviewers: Severin Tags: #user_interface Differential Revision: https://developer.blender.org/D1248