Blender Git Commits

Blender Git "master" branch commits.

Page: 1096 / 5574

August 5, 2019, 18:52 (GMT)
Fix T68272: Annotations segment fault when use Simplify option

This error was introduced with the array dynamic system for very long stroke.

Now, instead to use a custom code for simplify annotations, it uses the standard simplify BKE function more robust and with better results.

The factor of 0.15f has been set fixed after testing a good result value.
August 5, 2019, 18:35 (GMT)
Cleanup: use unsigned char for theme colors

Nearly all byte-color functions use 'uchar'
causing casts when then colors were passed in.

Declare as uchar to remove the need for casts.
August 5, 2019, 18:35 (GMT)
Cleanup: quiet cast warnings in recent commit
August 5, 2019, 17:04 (GMT)
New BLI Function: projmat_from_window_region

Creates a projection matrix for a small region of the viewport.

Reviewers: campbellbarton, brecht

Differential Revision: https://developer.blender.org/D5412
August 5, 2019, 16:50 (GMT)
Fix T67665 "Affect Alpha" in Texture Paint mode doesn't work as expected

The "alpha lock" check was missing for the smear and soften brush.
Added checks to make sure that the alpha values are kept the same.

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D5416
August 5, 2019, 16:44 (GMT)
Fix (unreported) transfer mesh data operator not enabling autosmooth.

When we transfer custom normals and allow for data creation, we should
also enable autosmooth on destination meshes.
August 5, 2019, 16:31 (GMT)
Cleanup/windows: Remove 32 bit support from make.bat helper script

This change removes 32 bit support from the helper make.bat scripts
as we are dropping official 32 bit support, you can still build for
32 bit by configuring your build yourself using cmake and pointing
the LIBDIR cmake variable to your own 32 bit library folder.
August 5, 2019, 16:07 (GMT)
Fix T68211: Transfer Mesh Data with Custom Normal crash when Auto Smooth is enabled.

Code in modifier stack ensuring requested CDLayers are provided was not
working very well for polynors in several cases:
* We cannot share the orig mesh if we have to generate pnors/lnors;
* Generating pnors without lnors was not possible.
August 5, 2019, 14:04 (GMT)
Fix T67259 : Auto depth not working with multires in sculpt mode

Basically the solution is to call `DRW_shgroup_call_sculpt` when `BKE_sculptsession_use_pbvh_draw(...)` is true.

Ref T67259

Reviewers: fclem, jbakker, brecht

Reviewed By: fclem, brecht

Maniphest Tasks: T67259

Differential Revision: https://developer.blender.org/D5396
August 5, 2019, 13:47 (GMT)
Fix T68145: Bone Rotate Individual Axes fail.

Rotation matrix would not get updated every time it would need to, after
own changes to handle 'big' rotations from keyboard input (rBcee484a4c51a3d2).
August 5, 2019, 13:33 (GMT)
Cycles: Fix wrong number of threads on multi-socket machines

The issue was caused by a limitation of GetNumaNodeProcessorMask():
on systems with more than 64 processors, this parameter is set to the
processor mask for the node only if the node is in the same processor
group as the calling thread. Otherwise, the parameter is set to zero.

Patch from Max Dmitrichenko, thanks!
August 5, 2019, 13:25 (GMT)
Build: add ninja target to make wrapper

To use the ninja build tool which is typically faster than make, especially
for quick rebuilds.
August 5, 2019, 13:25 (GMT)
Build: add config for developers

This has faster builds, error checks and tests. The number of cmake options
for this type of thing has grown over the years and it's convenient to be
able to point new developers to a single target.

Previously the combination of all these options did not work correctly, now
all tests should pass.

The easiest way to use this is with the make wrapper, for example:
make full developer debug

Or set it manually with CMake:
cmake -C ../blender/build_files/cmake/config/blender_developer.cmake .

Differential Revision: https://developer.blender.org/D5149
August 5, 2019, 13:23 (GMT)
Build: disable address sanitizer for Cycles optimized kernels with GCC

It's extremely slow to compile and run, so just disable it unless
WITH_CYCLES_KERNEL_ASAN is manually enabled. For Clang it's always
enabled since that appears to work ok.

This also limits the -fno-sanitize=vptr flag to the Cycles kernel, as it
was added specifically to work around an issue there.

Differential Revision: https://developer.blender.org/D5404
August 5, 2019, 13:10 (GMT)
PyRNA: support separators in enum-items lists

Resolves T68260
Revision fa1d470 by Campbell Barton
August 5, 2019, 12:44 (GMT)
GTest: test cases for polyfill2d bug T67109
August 5, 2019, 12:43 (GMT)
Fix T67109: n-gon tessellation error with co-linear edges

Improve the area calculation method for better precision,
so faces offset from the center don't have a less precise area.
August 5, 2019, 12:30 (GMT)
ED_view3D: Remove and replace `ED_view3d_select_id_read`

It is very similar to `ED_view3d_select_id_read_rect`.
August 5, 2019, 12:24 (GMT)
Fix (unreported0 bad usage of `do_versions_find_region()` in versionning code.

When NULL pointer can be a valid return value, one has to use
`do_versions_find_region_or_null()` instead...

Fixes asserts as reported in rBa2fe386153e.
Revision 9620b8f by Sergey Sharybin
August 5, 2019, 09:47 (GMT)
Cycles: Fix compilation on 32bit Linux with GCC-9

We don't use explicit SIMD flags on 32bit, so trying to use
intrinsics was causing issues.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021