Blender Git Commits

Blender Git "master" branch commits.

Revision 8d9fd04 by Hans Goudey
4 hours 55 min ago
Cleanup: Nodes: Use consistent errors for nodes built without features
Revision 1e8a808 by Hans Goudey
6 hours 13 min ago
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.
8 hours 39 min ago
Fix Cycles broken motion blur pass after recent bugfix
8 hours 46 min ago
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
9 hours 28 min ago
Fix T87324: incorrect parametric coordinates with light spread
9 hours 28 min ago
Cleanup: fix address sanitizer warning
9 hours 28 min ago
Fix T87283: crash with persistent data and motion blur
9 hours 28 min ago
Fix T86880: Cycles bevel shader not working after editing world
Revision 2bd9f9d by Julian Eisel
10 hours 50 min ago
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
11 hours 30 min ago
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.
12 hours 8 min ago
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
12 hours 46 min ago
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
13 hours 29 min ago
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'
```
14 hours 56 min ago
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
15 hours 9 min ago
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.
19 hours 48 min ago
Fix T87252: File output node broken with more than 4 inputs.

In recent refactor the operator sockets were migrated from a std::list to a blender::Vector.
The way how the file output node created the sockets along mapping the sockets could
lead to storing incorrect pointers.

This patch fixes this by defining and mapping the sockets in separate loops.
19 hours 48 min ago
Fix: File output uses incorrect resolution when first socket unused.

File output node always received the resolution from the first socket.
When that socket didn't had a link it would use a resolution of 0,0.
What lead to not saving the file at all.

This only effected Multi layer OpenEXR files.
This change would go over all the links to find the first valid
resolution.
20 hours 20 min ago
Fix T87348: convert vertex colors to linear color space

Differential Revision: https://developer.blender.org/D10956
20 hours 24 min ago
Spreadsheet: add spreadsheet width unit

This also fixes the issue that the width of the "Name" column
when viewing instances does not resize correctly.

Differential Revision: https://developer.blender.org/D10926
20 hours 28 min ago
Fix T87308: don't show columns when there are no instances
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021