Blender Git Loki

Blender Git commits from all branches.

Page: 424 / 2888

April 13, 2021, 09:51 (GMT)
Merge branch 'master' into virtual-array-attributes
April 13, 2021, 09:29 (GMT)
Compositor: Allocate OIDN memory after receiving lock.

Related to {T77023}. When using many Denoise nodes the memory in OIDN
are allocated up front. A mutex could stall the process until. This
change will allocate the memory after it received the lock.
April 13, 2021, 09:29 (GMT)
Fix T74680: Incorrect mixing in Glare node

The mixing function was designed to give correct results for Mix values of
-1, 0, and +1, but the behavior between these points was not linear. This is
unavoidable, because the function depends on both Mix and Mix^2 (by
multiplying value and mf) so they could not cancel out completely.

The new formula simply calculates the weighted sum without trying to invent
a smooth function.
Value for MixGlareOperation is now passed directly without scaling because
it is then easier to use.
Note that the previous formula performed max() twice for both input image
and the result, now there is just one max() per channel because the glare
input can't be negative.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D7138
April 13, 2021, 09:29 (GMT)
Fix unreported: Flat Surface objects

Before rBf674976edd88, the flag indicating whether a curve was 2D or 3D was
ignored by Surfaces objects.

So it can be said that Surfaces objects were always 3D.

We could remove updates to 2D on Surface objects, so the behavior is
identical to what it was before.

But this would also cause the return of `data.dimensions` to be misleading,
complicate the code a bit and add a micro overhead.

So the solution here is just to init all Surface objects as 3D.

Surface objects can now be constrained to 2D with the command:
```
data.dimensions = '2D'
```
April 13, 2021, 09:29 (GMT)
Win32: Fix fullscreen errors using Taskbar system menu

Changing window state using taskbar system menu could result in a titleless window.

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

Reviewed by Ray Molenkamp
April 13, 2021, 09:29 (GMT)
UI: Fix a few RNA description strings

A few strings describing RNA objects were wrong, including copy/paste errors, spelling and case.

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D10899
April 13, 2021, 09:29 (GMT)
Previews: allow undo'ing datablock preview generation

Allow users to undo the effect of the "Generate Preview" operator in the
asset browser (`ED_OT_lib_id_generate_preview`). Without this, the
button is too dangerous.
April 13, 2021, 09:29 (GMT)
UI/Nodes: Improve feedback when adding node fails (e.g. on drag & drop)

This is especially useful when trying to add a node group instance, e.g. via
drag & drop from the Outliner or Asset Browser.
Previously this would just silently fail, with no information why. This is a
source of confusion, e.g. earlier, it took me a moment to realize I was
dragging a node group into itself, which failed of course.
Blender should always try to help the user with useful error messages.

Adds error messages like: "Nesting a node group inside of itself is not
allowed", "Not a compositor node tree", etc.

Adds a disabled hint return argument to node and node tree polling functions.
On error the hint is reported, or could even be shown in advance (e.g. if
checked via an operator poll option).

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

Reviewed by: Jacques Lucke
April 13, 2021, 09:29 (GMT)
Fix T87324: incorrect parametric coordinates with light spread
April 13, 2021, 09:29 (GMT)
Cleanup: fix address sanitizer warning
April 13, 2021, 09:29 (GMT)
Fix T87283: crash with persistent data and motion blur
April 13, 2021, 09:29 (GMT)
Fix T86880: Cycles bevel shader not working after editing world
April 13, 2021, 09:29 (GMT)
UI: Use Consistent name for select mirror

This commit cleans up the RNA names of select mirror operators so that
they are all "Select mirror".

This makes the select menu in edit/pose mode consistent regardless of
object type.

Differential Revision: https://developer.blender.org/D7356
April 13, 2021, 09:29 (GMT)
Fix Cycles broken motion blur pass after recent bugfix
April 13, 2021, 09:29 (GMT)
Cleanup: Use C++ types in object_dupli.cc

Using alloca in C++ is not recommended, especially when we have the
blender::Array type that can contain an inline buffer.
April 13, 2021, 09:29 (GMT)
Cleanup: Nodes: Use consistent errors for nodes built without features
April 13, 2021, 09:29 (GMT)
PyAPI: support retrieving the exception when running a string

- Optionally get the error as a single line.
- Support access the error as an allocated string.
- PyC_ExceptionBuffer_Simple was always printing to the `stdout` while
PyC_ExceptionBuffer didn't, now either print to the output.

Without this, callers are unable to do anything with the error string.
April 13, 2021, 09:29 (GMT)
Fix T87400: GPencil change Select Alternate defaults

Now, the Unselect Ends is disabled by default.
April 13, 2021, 09:29 (GMT)
DNA: support int8_t type in DNA structs

Differential Revision: https://developer.blender.org/D8908
April 13, 2021, 09:29 (GMT)
CMake: fix error building with the version set to 300

When Blender's minor version was single digits, it wasn't properly
extracted. Resolve by adding zero padding.

Issue raised by @harley in D10954.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021