Blender Git Commits

Blender Git "master" branch commits.

Page: 94 / 5574

October 21, 2021, 19:22 (GMT)
Nodes: Fix missing variable
October 21, 2021, 19:00 (GMT)
Node Editor: Introduce color overlay and dashed wires theme setting

This patch includes code from D9891 and D12754, so credit goes to Juanfran and Dalai.
I updated the patches to work with `master` and with the new overlay toggle.

The reason to include both changes as part of one patch is that the dimmed dashed lines work much better together with colored wires.

Theme setting for dash opacity:
{F11370574, size=full}

{F11286177, size=full, autoplay, loop}

{F11149912, size=full}

For adding the overlay I used `SpaceImageOverlay` as reference, although I'm not familiar with this code so there might be mistakes.

Reviewed By: #user_interface, HooglyBoogly

Differential Revision: https://developer.blender.org/D12886
Revision 1d96a48 by Hans Goudey
October 21, 2021, 18:54 (GMT)
Geometry Nodes: Attribute search in the modifier

This adds attribute search to the geometry nodes modifier
for the input and output attributes. The "New" search item
is only shown for the output attributes.

Some of the attribute search code is extracted to a new file
in the interface code, to avoid some code duplication.

The UI code required two fixes so that the search would work
for dynamic length strings (IDProperties do not have a fixed size).

Since this does changes to the UI layout of the modifier, I also
addressed T91485 here.

Differential Revisiion: https://developer.blender.org/D12788
October 21, 2021, 18:17 (GMT)
Fix T92371: Move AZONE_REGION When Overlapped

Overlapped regions have transparent backgrounds, so when placing
AZONE_REGION we need to move them in to the content edge.

See D12956 for details and examples.

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

Reviewed by Hans Goudey
Revision 3858bf5 by Hans Goudey
October 21, 2021, 17:52 (GMT)
Cleanup: Use common define for menu separator arrow
Revision 7b9319a by Hans Goudey
October 21, 2021, 16:51 (GMT)
Geometry Nodes: Update bounding box to work on individual instances

This commit makes the bounding box node work on each unique geometry
(including instances) individually instead of making one large bounding
box for everything. This makes the node much faster, and is often the
desired result anyway. For the old behavior, a realize instances node
can be used in front of this node (versioning adds it automatically).

The min and max outputs now only output the values from the realized
geometry.

Differential Revision: https://developer.blender.org/D12951
October 21, 2021, 16:27 (GMT)
Suppress the unused parameter warning from D9551.

The parameter is only used in an assert.
Revision 594c857 by Julian Eisel
October 21, 2021, 14:36 (GMT)
Fix tooltip disabled hint not using correct context from the button

To display the "disabled hint" (text explaining why a button is disabled) in a
tooltip, it would run the operator poll callback, which could then set a poll
message. But the context for the poll check wasn't the one from the button, so
the poll may give a different result (and disabled hint) than the check of the
button itself did.
Make sure it uses the exact context from the button.
October 21, 2021, 14:23 (GMT)
Asset Catalogs: add test for backslashed catalog paths

No functional changes necessary, test already succeeds.
Revision ff46afb by Hans Goudey
October 21, 2021, 14:16 (GMT)
Fix: Curve trim crash on splines with no edges
October 21, 2021, 14:06 (GMT)
Asset Catalogs: refresh simple name when renaming catalog

When renaming an asset catalog, also update its simple name.

Catalogs will most likely be created from within Blender, so via the
catalog tree in the asset browser. Here catalogs are always named
"Catalog" until the user renames them, which was reflected in all simple
names being "Catalog".
October 21, 2021, 13:53 (GMT)
Cleanup: rename & restructure `AssetCatalogPathCmp`

Rename `AssetCatalogPathCmp` to `AssetCatalogLessThan`:
- it compares more than paths (so no more `Path` in the name), and
- performs a less-than operation (so no more `Cmp` in the name).

Also restructure its code to make an extra upcoming comparison easier to
add.

No functional changes.
October 21, 2021, 13:53 (GMT)
Asset Catalogs: treat first-loaded catalog as main catalog

When there are multiple catalogs with the same path (so different UUIDs
all mapped to the same catalog path), treat the first-loaded one as the
main catalog for that path, and the rest as aliases.

This ensures that the UUID of a catalog (as chosen in the tree UI and thus
interacted with by users) is stable, regardless of whether by some coincidence
later another catalog with the same UUID is created.
October 21, 2021, 13:50 (GMT)
Nodes: add utility to find NodeRef for node

In the future `NodeTreeRef` could have a lazy initialized map,
but for now this is good enough.
October 21, 2021, 13:50 (GMT)
Geometry Nodes: fix force-computing multiple non-output sockets

There were some issues when multiple inputs of the same node
were forced to be computed (e.g. for the spreadsheet), but none
of the node outputs (if existant) were used. Essentially the node
was marked as "finished" too early in this case.

This fix is necessary for the improved viewer node (T92167).
October 21, 2021, 13:38 (GMT)
Cycles: add shadow path compaction for GPU rendering

Similar to main path compaction that happens before adding work tiles, this
compacts shadow paths before launching kernels that may add shadow paths.

Only do it when more than 50% of space is wasted.

It's not a clear win in all scenes, some are up to 1.5% slower. Likely caused
by different order of scheduling kernels having an unpredictable performance
impact. Still feels like compaction is just the right thing to avoid cases
where a few shadow paths can hold up a lot of main paths.

Differential Revision: https://developer.blender.org/D12944
October 21, 2021, 13:36 (GMT)
Windows: Fix finding python for build helpers

It was still looking for the 3.7 folder
rather than 3.9
October 21, 2021, 13:22 (GMT)
IDManagement: Assign current Main's lib to newly created IDs.

This is mainly for doversion code, when it needs to create new IDs those
should be considered as part of the same library as the current Main's
one.

No practical changes are expected here, this is more of a general
consistency fix, and a pre-requisite for {T92333}.
October 21, 2021, 13:15 (GMT)
Fix T92355: Quadriflow crashes with zero length edges

Add a check for zero length edges to the manifold check as quadriflow
doesn't handle meshes with these.
October 21, 2021, 12:40 (GMT)
Fix T92272: Rigid Body Copy to Selected "Margin" crash

Caused by {rB43167a2c251b}

Code from above commit called RNA updates with a NULL scene.
This was already commented (and mostly handled) in rB5949d598bc33, but
the reported case was missing in that commit.

This fixes the crash in a similar manner as rB5949d598bc33.

Maniphest Tasks: T92272

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