Blender Git Commits

Blender Git "master" branch commits.

Page: 114 / 5574

Revision 728e31e by Hans Goudey
October 9, 2021, 05:55 (GMT)
Fix: Typo in UI error message
Revision 886196b by Hans Goudey
October 8, 2021, 20:02 (GMT)
Fix T92037: Custom property edit issues with integer soft range

- Fix a typo that used the max instead of the min for the soft max
- Assign the correct "last property type" when the operator starts
- Only check values for the soft range when use soft range is turned on
Revision 8f8982d by Julian Eisel
October 8, 2021, 18:09 (GMT)
Asset Browser: Context menu for catalogs

The context menu is a standard way to expose operations of the clicked
item to the user. They expect it to be there, and we can make use of it
as a place to put more advanced operations in.

The menu contains:
* New Catalog
* Delete Catalog
* Rename

Also removes the 'x' icon to delete a catalog from the right side of a
row. This was just placed there temporarily until the context menu is
there. It's too easy to accidentally delete catalogs with this.
Revision 17c928e by Julian Eisel
October 8, 2021, 18:08 (GMT)
UI: Add context menu support for tree-view items

Tree-view items can now easily define their own context menu. This works
by overriding the `ui::AbstractTreeViewItem::build_context_menu()`
function. See the documentation:
https://wiki.blender.org/wiki/Source/Interface/Views#Context_Menus

Consistently with the Outliner and File Browser, the right-clicked item
also gets activated. This makes sure the correct context is set for the
operators and makes it clear to the user which item is operated on.

An operator to rename the active item is also added, which is something
you'd typically want to put in the context menu as well.
Revision 7bd0de9 by Julian Eisel
October 8, 2021, 17:48 (GMT)
Asset Browser: Avoid per-asset context menu on right click in sidebar

The right-click keymap item to display the context menu was added for
the entire area, not just the main region.
October 8, 2021, 16:03 (GMT)
Fix T90666: Toggling motion blur while persistent data is enabled results in artifacts

Enabling or disabling motion blur requires rebuilding the BVH of affected geometry and
uploading modified vertices to the device (since without motion blur the transform is
applied to the vertex positions, whereas with motion blur this is done during traversal).
Previously neither was happening when persistent data was enabled, since the relevant
node sockets were not tagged as modified after toggling motion blur.

The change to blender_object.cpp makes it so `geom->set_use_motion_blur()` is always
called (regardless of motion blur being toggled on or off), which will tag the geometry
as modified if that value changed and ensures the BVH is updated.
The change to hair.cpp/mesh.cpp was necessary since after motion blur is disabled,
the transform is applied to the vertex positions of a mesh, but those changes were not
uploaded to the device. This is fixed now that they are tagged as modified.

Maniphest Tasks: T90666

Differential Revision: https://developer.blender.org/D12781
October 8, 2021, 14:49 (GMT)
Fix T92046: Mesh to GPencil fails because materials are not created

This bug was introduced in D12190 because the list of types that support materials did not include GPencil and this caused all materials to be removed after they were created during conversion.
Revision ff57ce8 by Julian Eisel
October 8, 2021, 14:31 (GMT)
UI: Support showing superimposed icons as disabled (with disabled hint)

If the operator poll of a superimposed icon returned `false`, the
superimposed icon would just draw normally and fail silently. Instead it
will now be drawn grayed out, plus the tooltip of the icon can show the
usual "disabled hint" (a hint explaining why the button is disabled).
October 8, 2021, 14:17 (GMT)
Fix crash in the node editor in cases where nodetree was empty

This seems to happen only in a few files, and not so trivial to
reproduce from scratch.

The crash is real though, and this fixes it.

It also fix a wrong comment style that was introduced in the same faulty
commit.

Bug introduced on ebe23745281e86.

Differential Revision: https://developer.blender.org/D12794
October 8, 2021, 14:11 (GMT)
Fix T91997: Cycles glass + SSS not rendering correctly
October 8, 2021, 14:11 (GMT)
Fix T91999: wrong Cycles updates with mesh deformation, after recent changes
October 8, 2021, 13:56 (GMT)
Docs: note that message-bus subscribers are reset on file load
October 8, 2021, 13:55 (GMT)
WM: always reset message-bus on file load

Previously this was only happening when "Load UI" was enabled,
making it difficult for Python script authors to know when
re-registering subscribers was needed.
October 8, 2021, 13:44 (GMT)
Fix Cycles speed regression after dynamic volume stack change

Only copy required part of volume stack instead of entire stack.

Solves time regression introduced by D12759 and avoids need in
implementing volume stack calculation to exactly match what the
path tracing will do (as well as potentially makes scenes with
a lot of volumes ans a tiny bit of deeply nested ones render
faster).

Still need to look into memory aspect of the regression, but
that is for separate patch.

Ref T92014

Maniphest Tasks: T92014

Differential Revision: https://developer.blender.org/D12790
October 8, 2021, 13:37 (GMT)
User Interface: Use theme alpha for the nodes frames background

This bump subversion.
October 8, 2021, 13:36 (GMT)
Theme: Fix Blender Light wire color

When using the Blender Light theme the wires seemed too thick.

This is a left over from 4a0ddeb62bb4a438.
October 8, 2021, 13:36 (GMT)
User Interface: Make the background inside a node group brighter

The breadcrumbs alone may not be enough to indicate that a user is
inside a nodegroup. The original dark green color was a bit overwhelming
but having a different background helps.

This is a follow up to 919e513fa8f9f.
October 8, 2021, 13:28 (GMT)
Fix wrong Cycles tile highlight with region render

In previous Blender version the tile highlight was stored in the
full frame (un-cropped) space. This was changed with the Cycles X
development and now the tiles and render result are always measured
relative to the cropped region.

Differential Revision: https://developer.blender.org/D12779
October 8, 2021, 13:28 (GMT)
Cleanup: asset catalogs, alphabetically order forward declarations

No functional changes.
October 8, 2021, 12:52 (GMT)
install_deps: Fix OIIO depending on (system...) openVDB.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021