Blender Git Commit Log

All Blender Git commits.

Page: 160 / 8462

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, 23:27 (GMT)
Sculpt: Fix topology rake performance regression

* Don't use quite so many iterations
* Defer normals update
October 17, 2021, 22:55 (GMT)
Sculpt: split operators from sculpt.c to sculpt_ops.c

Except for the main brush operator, that's still in sculpt.c.
October 17, 2021, 22:45 (GMT)
Sculpt: Split the brushes from sculpt.c into sculpt_brushes.c.

* Also killed the warnings in sculpt_boundary.c
October 17, 2021, 22:02 (GMT)
Sculpt: move dyntopo command to top of command list.

* Dyntopo is now run before other commands in the
brush command lists.
* Fixed nasty command subspacing bug.
* Added a missing RNA library override flag.
October 17, 2021, 20:17 (GMT)
Add more regression tests for new obj exporter.

This adds regression tests for exporting most of the blend files
in the io_tests/blend_geometry and io_tests/blend_scene tests.
A fix was necessary in the BlendfileLoadingBaseTest class to prevent
leakage of some global data generated when a loaded file has metaballs.
Also, had to fix the exporter to deal with empty curves.
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
October 17, 2021, 11:25 (GMT)
Sculpt: Fix gcc compile error
October 17, 2021, 11:19 (GMT)
Sculpt: brush UI and debug changes

* You can now edit brush input mappings
inside the main workspace brush panels.
* PBVH_CHECK_NAN now limits how many reports
it prints from a given source file.
* Fixed various problems with shift-smooth strength
setting.
* Fixed a NaN in the smoothing code.
October 17, 2021, 08:57 (GMT)
Sculpt: fix memory corruption

* Fixed a nasty bit of memory corruption
* Along the way, added ASAN support to
bmesh customdata blocks.
* Each CD layer is padded by 32 bytes
inside the bmesh data block.
* Also fixed a few minor errors in
mempool's asan support.
* Tried and failed to fix numerical
stability issues with lasso/box
trim brushes.
Revision 3c36803 by Hans Goudey (master)
October 17, 2021, 03:58 (GMT)
Cleanup: Fix unused variable warning in lite build
October 16, 2021, 23:14 (GMT)
Sculpt: fix bug with building paths for
mapping curve inside the ui
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021