Blender Git Commits

Blender Git "master" branch commits.

Page: 594 / 5574

September 4, 2020, 11:31 (GMT)
Cleanup: Clang-Tidy readability-redundant-declaration fix

No functional changes.
September 4, 2020, 10:37 (GMT)
Cleanup: Clang-Tidy readability-static-accessed-through-instance fixes

No functional changes.
September 4, 2020, 10:37 (GMT)
Cycles: Cleanup, mark overridden virtual methods as such

Solves strict Clang warnings reported on Linux.
September 4, 2020, 10:04 (GMT)
Cleanup: Clang-Tidy readability-const-return-type fixes

No functional changes.
September 4, 2020, 09:26 (GMT)
Cleanup: Clang-Tidy readability-redundant-preprocessor fixes

Remove redundantly nested `#if` and `#ifdef` statements.

One nested `#if 0` block was left untouched, as it's in particle code
that's no longer maintained. Furthermore, that block also has some
explanation as to the differences between the enabled & disabled parts.

One nested `#if 0` construct was completely removed, leaving only the
actually used bit of code. There was no explanation as to the usefulness
of the disabled code, and it hasn't been touched in years.

No functional changes.
September 4, 2020, 08:30 (GMT)
Fix T80273: Restrict option in weight paint doesn't work with gradient

With the 'Restrict' option, the gradient should be restricted to the
assigned vertex, just like the other weight paint tools.

Maniphest Tasks: T80273

Differential Revision: https://developer.blender.org/D8761
September 4, 2020, 08:11 (GMT)
Fix T78084: Search does not accept text fragments everywhere

This was reported for the "Add Node" search functionality, but is
relevant in other searches as well.

So e.g. when searching for "Separate XYZ", typing "sep", then " " (with
the intention to type "X" next) would clear the search field. Now use
the same method (matching against all search words) as in F3 searching
('menu_search_update_fn') in other searches as well [searching IDs,
property objects, finding nodes,...]

This should give a much nicer search experience in general.

Note: this does not touch other searches in the Dopesheet, Outliner,
Filebrowser or User Preferences that have other search implementations.

Maniphest Tasks: T78084

Differential Revision: https://developer.blender.org/D8232
September 4, 2020, 02:27 (GMT)
UI: Make UV Editor contextual menu more consistent with 3D View

Follow up on rB12716e6b9fc74bd53be39ec7aab16ca8d43f0593

See also: rB62774badeda7d13fd3c6af57c632ff3167a608d7
September 4, 2020, 00:41 (GMT)
Docs: Fix typo in creator args formatting

This was pointed out in D8799
September 3, 2020, 20:57 (GMT)
Fix assert when cleaning constraints in the transform tool

When enabled, the modal key item "Clear Constraint" did not reset
the default orientation.

This does not bring changes in the user's point of view.
September 3, 2020, 20:57 (GMT)
Cleanup: Shorten the name of the Auto Constraint modal keymap

It was taking up too much space in the status bar.
Revision 953a031 by Hans Goudey
September 3, 2020, 19:33 (GMT)
UI: Fix use after free for instanced panel expansion

The "set_expand_from_list_data" function has to be called after updating
the panels' custom data pointers. Otherwise the wrong information is
retrieved in the best base and it will cause a crash in the worst case.
Revision 88b6dd1 by Julian Eisel
September 3, 2020, 19:04 (GMT)
Fix missing cursor changes with "Lock Object Modes" disabled

Changing the active object would change the mode, but the necessary
toolsystem update to change the cursor was not run.

Steps to recreate were:
* Duplicate default cube
* Enter sculpt mode with one of the cubes
* Disable Edit > Lock Object Modes
* Select back-and-forth between the objects

Same would happen with other modes.
September 3, 2020, 18:39 (GMT)
MSVC: Fix cmake warnings with MSVC updates

CMake caches the location of the CRT runtime in the
MSVC_REDIST_DIR variable, and uses it to copy the required
dll's during the install phase.

This variable is only initialized when it does not exist.
Leading to issues when compiler updates are installed and
the compiler version slightly changes, cmake still looks
in the old location for the runtime and warns about the
files not existing.

This change fixes the issue by checking if the redist dir
exists and if not unsets it so InstallRequiredSystemLibraries
can have another go at figuring out where they live.
September 3, 2020, 18:17 (GMT)
Fix T80289: GPencil Opacity modifier not working

This error was introduced in the refactor of the modifier panels.
Revision 6d39fd9 by Julian Eisel
September 3, 2020, 17:36 (GMT)
Fix copy/paste error in Grease Pencil Draw operator tooltip

Also remove capitalization of the term "object".
Revision 340cbc7 by Omar Emara
September 3, 2020, 16:56 (GMT)
Fix T79803: Wrong Distance To Edge 1D Voronoi

The current 1D Voronoi implementation for the Distance to Edge option
computes the distance to the cells instead. This patch fixes that and
compute the distance to the edge.

Reviewed By: JacquesLucke, brecht

Differential Revision: https://developer.blender.org/D8634
Revision d2c52d4 by Julian Eisel
September 3, 2020, 15:46 (GMT)
Cleanup: Add/use function to disable buttons with a disabled hint

We do this in a couple of places, so it's worth having the logic wrapped
into a function.
Also, the only way to set the disabled hint for a button from outside of
`interface/` was through `UI_block_lock_set()`/`UI_block_lock_clear()`,
for which the usage isn't obvious when you just try to disable a single
button.
September 3, 2020, 15:33 (GMT)
Revert "Fix T59358: Wrong status bar keymap for release confirms and right click select."

This reverts commit 17905e89a72dcd816efb51b7403e6c01bc3e71e8.
Fix T80429: Transform Tools cannot be cancelled

rB17905e89 better filtered the key items that should appear in the
status bar.

But it is very restrictive since canceling is still possible in other
cases.


# Conflicts:
# source/blender/editors/transform/transform.c
September 3, 2020, 15:26 (GMT)
Sculpt: Face Set Extract Operator

This implements a Face Set Extract operator, which is similar to mask
extract. This operator uses a picker to select and Face Set in the mesh
and extract the geometry directly to a new object.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8599
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021