Blender Git Commits

Blender Git "master" branch commits.

Page: 540 / 5574

October 13, 2020, 13:38 (GMT)
Cycles: fix missing ShaderNode ownership in render_graph_finalize_test
October 13, 2020, 13:15 (GMT)
Cycles: Add CUDA 11 build support

With this patch the build system checks whether the "CUDA10_NVCC_EXECUTABLE" CMake
variable is set and if so will use that to build sm_30 kernels. Similarily for sm_8x kernels it
checks "CUDA11_NVCC_EXECUTABLE". All other kernels are built using the default CUDA
toolkit. This makes it possible to use either the CUDA 10 or CUDA 11 toolkit by default and
only selectively use the other for the kernels where its a hard requirement.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9179
October 13, 2020, 12:46 (GMT)
Fix T81672: Array modifier default merge distance is 0.1m (typo)

Seems to be an oversight/typo in rB83980506957c.
Now set back to 0.01m (as it was before).

Maniphest Tasks: T81672

Differential Revision: https://developer.blender.org/D9193
October 13, 2020, 12:37 (GMT)
Fix T81656: Crash relocating a linked library into the current .blend

A .blend file cannot use itself as a library.
This is prevented when linking manually, but was still possible when
relocating, which is now prevented.

Maniphest Tasks: T81656

Differential Revision: https://developer.blender.org/D9191
October 13, 2020, 11:17 (GMT)
Cleanup: remove redundant assignment in SCULPT_brush_test_init

As discussed in D9120, this was an oversight in rBe0c792135adf, the same
assignment already happens a couple of lines above.
October 13, 2020, 11:17 (GMT)
Fix sculpting/painting with viewport clipping and radial symmetry

This was reported for sculpting, the same is true for weightpaint or
vertexpaint though.

When viewport clipping and radial symmetry are enabled, the
'sculpt_brush_test_clipping()' function was not considering radial
symmetry at all, so if the coordinate was outside the clipping planes,
no action would take place. Now the coordinte is brought back to where
the stroke actually happens and that is checked against clipping.

Since other mirroring options while painting/sculpting (as well as
editmode operations with mirroring) usually still take place even if the
mirrored coord is outside the clipping planes, this should also be the
case for radial symmetry.

This grows the 'SculptBrushTest' struct a bit, but should be acceptable?

Fixes T81466

Maniphest Tasks: T81466

Differential Revision: https://developer.blender.org/D9120
October 13, 2020, 11:08 (GMT)
Fix (unreported) liboverride of an object hiding its dependencies.

When we override a whole collection, we want to add non-instantiated
objects to a hidden sub-collection at the end of the process.

However, this makes no sense when instantiating an object, if other
dependencies objects get also overridden on the process, we should just
add them to the same collection owning the root object.
Revision 666485f by Ankit Meel
October 13, 2020, 11:04 (GMT)
CMake/macOS: find ZLib before setting CMAKE_PREFIX_PATH

https://devtalk.blender.org/t/building-blender-on-macos-fails/15756/

In some cases, CMake finds the Zlib supplied with OpenCollada
pre-compiled libraries, and not the system one.
October 13, 2020, 10:26 (GMT)
Fix (unreported) broken 'make override' of objects in master collection.

Master collections are not in Main list of collections, so we also need
to check the scenes.
October 13, 2020, 10:17 (GMT)
Cleanup: Fix typo in function name.
October 13, 2020, 09:51 (GMT)
Fix T81669: Vertex size in UV Editor changes using Face Dot Size in themes

Probably copy-paste error in rBd6525e8d133b.

Maniphest Tasks: T81669

Differential Revision: https://developer.blender.org/D9190
October 13, 2020, 05:59 (GMT)
Fix T81288:Select Linked fails with multi-object edit mode

Changing options after using select-linked didn't work
when the object being selected wasn't the active object.
October 13, 2020, 05:46 (GMT)
Cleanup: use BKE_fcurve_ prefix for keyframing bezier functions

- BKE_bezt_subdivide_handles -> BKE_fcurve_bezt_subdivide_handles
- binarysearch_bezt_index -> BKE_fcurve_bezt_binarysearch_index

These functions are specific to F-Curves and don't make sense for other
uses of BezTriple (curve-object data for e.g.)

Also:

- Move detailed doxygen comment above code, following code-style.
- Mark bezt_add_to_cfra_elem unused.
October 12, 2020, 23:29 (GMT)
Fix T81467: Crash with KD-Tree Weld Modifier

The problem is related to the `use_index_order` option of `BLI_kdtree_3d_calc_duplicates_fast`.
With this option, the higher index is expected to be less than `tree->nodes_len`.
October 12, 2020, 23:17 (GMT)
Fix T81589: Correct drag type handling in outliner

Blender crashed when dragging and dropping color into the outliner.
This issue was cause by a missing check for the correct drag type
in `datastack_drop_poll`. The check is added in this commit.
Additionally, a new drag type is introduced for the "data stack"
drag option, that was introduced in commit 1572da858df4, to
differentiate it from the existing WM_DRAG_ID type.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D9169
October 12, 2020, 22:51 (GMT)
UI: Monochrome Alert Icons and use the Question icon in the Quit dialog

Change to monochrome version of the large alert icons and use 'Question' for the the Quit Confirm dialog box.

Differential Revision: https://developer.blender.org/D9062

Reviewed by Pablo Vazquez
October 12, 2020, 19:14 (GMT)
Cleanup: remove duplicate code

This code segment is exactly the same as above.
Looks like it was copied accidentally.
October 12, 2020, 16:53 (GMT)
UI: Remove Hard-coded Default Font Size

Default text output routines (which do not specify a size) will now use Text Style point size.

Differential Revision: https://developer.blender.org/D9107

Reviewed by Brecht Van Lommel
Revision 1b7458f by Julian Eisel
October 12, 2020, 16:21 (GMT)
Cleanup: Rename outliner helper function

This name makes more sense and is consistent with related functions
(e.g. `outliner_requires_rebuild_on_select_or_active_change()`).
Revision c1cee36 by Julian Eisel
October 12, 2020, 16:21 (GMT)
Fix T81555: Outliner object state filter not updating correctly

When changing the selected, active or visible object(s), the Outliner
has to be rebuilt while using the corresponding object state filters.

The object hiding operators also have to send the proper notifiers (they
changed visibility without notifying about that).
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021