Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 103 / 5574

October 18, 2021, 07:42 (GMT)
Keymap: support key-activates-tools for shrink-fatten
October 18, 2021, 06:20 (GMT)
Cleanup: use depends-on-cursor for "Object Transfer Mode" operator

Replace modal operator with the OPTYPE_DEPENDS_ON_CURSOR flag.

This has the advantage of showing the shortcut in the menu.
October 18, 2021, 06:18 (GMT)
WM: support setting the operators idle cursor

Support setting a cursor when an operator is waiting for input.
October 18, 2021, 06:09 (GMT)
Cleanup: de-duplicate operator registration

Operators and operator-macros duplicated RNA properties.
October 18, 2021, 06:09 (GMT)
UI: expose additional cursors to the Python API
October 18, 2021, 04:58 (GMT)
Snap and Placement Gizmo Refactor

Move most of the gizmo snap and placement code to `view_cursor_snap.c`.

Simplify and extend the snap API.

Differential Revision: https://developer.blender.org/D12868
October 18, 2021, 04:47 (GMT)
Fix key-shortcut path for sequencer overlay
October 18, 2021, 04:47 (GMT)
Fix frame overlay not refreshing the sequencer preview

Regression in 46aa70cb486d719139ac43e5c9ac4b0fe998e202
October 18, 2021, 04:47 (GMT)
Cleanup: internal sequencer naming for overlays

- Rename RNA SpaceSeq.show_strip_overlay to show_overlays
matching the 3D View, the term "strip" was misleading as this is used
for the preview as well.

- Rename various RNA overlay settings to overlay_frame
since "Frame Offset" is a specific feature, avoid having both
Editor.show_overlay and SpaceSeq.show_overlays.

- Rename Editing `over_*` -> `overlay_frame_*` in DNA,
as well as flags.
October 18, 2021, 01:13 (GMT)
Cleanup: spelling in comments
October 17, 2021, 17:10 (GMT)
UI: Improve contrast on playhead

Add an outine around the playhead, matching the color of the background (slightly darkened)
to improve the readability of the current frame line when placed against curves or strips
with a similar color.

{F10944336, size=full}

Differential Revision: https://developer.blender.org/D12810
October 17, 2021, 16:49 (GMT)
UI: Adjust header color when active instead of inactive

Currently, the background color of headers gets darkened when the editor is not active,
this makes it hard to theme, and adds contrast/noise when it's not needed.

This patch makes headers use the regular theme color when the editor is not active, so it
can be made to flush with the background more easily. And lightens the header (by +10,
same value as before) when the editor is active, providing the wanted highlight.

The motivations behind this change are:
* Simplify picking a theme color for headers.
* Widgets already become lighter on mouse hover, this change creates a connection with that concept.

Left: current master, inactive header is darkened.
Right: this patch, inactive header gets the theme color, active editor gets header in a slightly lighter color (like most widgets)

{F11052503, size=full, loop, autoplay}

Reviewed By: #user_interface, HooglyBoogly

Differential Revision: https://developer.blender.org/D12856
October 17, 2021, 16:31 (GMT)
UI: Visual style update to panels

Back in Blender 2.30, the GUI project brought panels into Blender among other important visual updates.
For the first time it was possible to move the wall of buttons around. Providing a clear separation
between sections (it even allowed the grouping of panels in tabs!)

During the 2.5 redesign, the separation between panels became a line on top of each panel, and panels received
theme settings for background and header colors. The default theme used the same color for both.

In 2.8 the background color of panels was different from headers in the default theme, so the separator
line was removed. While the separator line wasn't elegant (only on top, non-themeable, hard-coded emboss effect),
it provided a sort of separation between panels.

This patch solves the panels-separation by simply adding a margin space around them (not visible in default theme yet).
Even though the margin reduces the width of the working area slightly, it makes room for the upcoming always-visible scrollbars.

Other adjustments:
* Use arrow icon instead of triangle to collapse/expand
* Use rounded corners to match the rest of the UI (editor corners, nodes, etc).

{F10953929, size=full}

Margin on panels makes use of the `style->panelouter` property that hasn't been
used in a while. Also slight tweaks to `boxspace` and `templatespace` style properties so they
are multiples of 2 and operations on them round better.

There is technically no need to update the themes for them to work, so no theme changes are included in this patch.

{F10953931, size=full}

{F10953933, size=full}

{F10953934, size=full}

{F10954003, size=full}

----

A new theme setting under Style controls the roundness of all panels (added it to Style instead of ThemeSpace because I think controlling the panel roundness per editor is a bit overkill):
{F11091561, size=full, autoplay, loop}

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D12814
October 17, 2021, 13:56 (GMT)
Geometry Nodes: bring back lazy evaluation for field types in Switch node

Differential Revision: https://developer.blender.org/D12878
October 17, 2021, 13:51 (GMT)
Geometry Nodes: change field visualization when there is an error

This does not change the behavior when there are no mistakes in the node tree.
The visualization does change when a field is connected to an input that cannot
be a field.

Differential Revision: https://developer.blender.org/D12877
Revision 3c36803 by Hans Goudey
October 17, 2021, 03:58 (GMT)
Cleanup: Fix unused variable warning in lite build
October 16, 2021, 12:26 (GMT)
Fix: Geometry Nodes Subdiv Surface Crash

If there are no edges in the mesh, the process would crash.
Returning in this case.
October 16, 2021, 11:54 (GMT)
Revert "Fix T62325, T91990: changing Cycles presets does not update the Blender UI"

This reverts commit 1b6752e599b5ed70823d09f90c418e448516d4b4. It is causing
constant redraws due to some ID properties seemingly being edited on every
redraw.
Revision b3c4691 by Julian Eisel
October 16, 2021, 07:55 (GMT)
Asset Browser: Use single column for asset library menu

Feedback was that the two column menu felt odd, and that the "Custom" and
"Built-in" headings for each column were more confusing than helpful. So
changing this to a single column menu with separator lines instead of headings.
Revision 73753e1 by Julian Eisel
October 16, 2021, 07:28 (GMT)
Asset Browser: Change default name of tags

Use "Tag" instead of "Unnamed Tag" as default name for tags. Other default
names in Blender also don't add "Unnamed" or similar.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021