Blender Git Commit Log

All Blender Git commits.

Page: 138 / 8462

October 26, 2021, 09:07 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
October 26, 2021, 08:55 (GMT)
Sculpt: New "auto-fset" setting

Added a new "auto face set" setting for brushes.
It basically invokes the draw face set tool,
with a few differences:

* The painted face set is fixed by user setting.
* More then one face set can be created,
these are assigned based on distance to
the stroke line.
* TODO: write a proper API for wrangling stroke
curves (should interpolate at least G2!).

The point of this is to enable better hard surface
brushes. Since the settings are extremely finicky
I've added an example of one (based on clay strips)
to startup.blend.

The necassary steps to make a hard brush out of this
are as follows:

1. Autosmooth: ~0.4;
2. Autosmooth radius scale: ~1.5.
3. Auto fset: on.
4. Hard edge mode: on (but turn off inherit).
October 26, 2021, 08:40 (GMT)
Cleanup: LibQuery: Rename `BKE_LIB_FOREACHID_PROCESS` to `BKE_LIB_FOREACHID_PROCESS_IDSUPER`.

More in-line name with the rest of that macro-based API, especially
since this will be extended in the future.
October 26, 2021, 08:28 (GMT)
Cleanup: `else` after `continue`.
October 26, 2021, 08:13 (GMT)
Fix crash in liboverride/pointcache handling code after recent changes.

In some cases code would try to access NULL pointer.

Reported by @dfelinto, thanks.
October 26, 2021, 07:58 (GMT)
Cleanup: forgot to remove empty line in previous commit.
October 26, 2021, 07:52 (GMT)
Cleanup: build warnings.

`NULL` instead of `nullptr` in cpp code, and `else` statements after
returns.
Revision 5f9b00a by Peter Kim (master)
October 26, 2021, 06:05 (GMT)
Cleanup: Remove unused parameter
October 26, 2021, 05:23 (GMT)
Sculpt-dev: fix compile errors for quadriflow

. . .when compiled with threading on (for quadriflow).
Still off however.
Revision 89637f4 by Peter Kim (master)
October 26, 2021, 04:42 (GMT)
Cleanup: Improve description for XR absolute tracking
Revision 9dbfa05 by Peter Kim (master)
October 26, 2021, 04:41 (GMT)
XR: Only show ref space warnings in debug-xr mode

This avoids spamming the console for users who have not set up a
tracking space/boundary for their headsets.
Revision 9db13c8 by Peter Kim (master)
October 26, 2021, 04:38 (GMT)
XR: Fix potential crash when toggling session
Revision 4c0512b by Peter Kim (master)
October 26, 2021, 04:37 (GMT)
XR: Versioning for session draw flags, base scale
Revision 7ae2810 by Peter Kim (master)
October 26, 2021, 04:35 (GMT)
XR: View adjustments for variable viewer scale

This adjusts some calculations and visibility flags for XR viewports in
order to account for a possible scale factor in the XR view matrix.

This scale factor can be introduced via the XR session settings base
scale, which allows a viewer to begin their session at a specific
reference scale, or the XR session state navigation scale, which allows
a viewer to adjust their scale relative to the reference scale during
the session.

Reviewed by Severin as part of D11501, but requested to be committed
separately.
Revision 3434a99 by Peter Kim (master)
October 26, 2021, 04:34 (GMT)
XR Controller Support Step 5: Navigation

Adds navigation transforms (pose, scale) to the XR session state that
will be applied to the viewer/controller poses. By manipulating these
values, a viewer can move through the VR viewport without the need to
physically walk through it.

Add-ons can access these transforms via Python
(XrSessionState.navigation_location/rotation/scale) to use with custom
operators.

Also adds 3 new VR navigation operators that will be exposed to users
as default actions in the VR Scene Inspection add-on. While all three
of these operators have custom properties that can greatly influence
their behaviors, for now these properties will not be accessible by
users from the UI. However, other add-ons can still set these custom
properties if they desire.

1). Raycast-based teleport
Moves the user to a location pointed at on a mesh object. The result
can optionally be constrained to specific axes, for example to achieve
"elevation snapping" behavior by constraining to the Z-axis. In
addition, one can specify an interpolation factor and offset.

Credit to KISKA for the elevation snapping concept.

2). "Grab" navigation
Moves the user through the viewport by pressing inputs on one or two
held controllers and applying deltas to the navigation matrix based on
the displacement of these controllers. When inputs on both controllers
are pressed at the same time (bimanual interaction), the user can scale
themselves relative to the scene based on the distance between the
controllers.

Also supports locks for location, rotation, and scale.

3). Fly navigation
Navigates the viewport by pressing a button and moving/turning relative to
navigation space or the VR viewer or controller. Via the operator's
properties, one can select from a variety of these modes as well as
specify the min/max speed and whether to lock elevation.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D11501
Revision e463d2c by Hans Goudey (master)
October 26, 2021, 02:50 (GMT)
UI: Change node editor grid into a dot grid

This patch makes the background grid of the node editor a grid of dots
instead of lines. This makes the background look a bit more subtle and
reduces visual complexity. The dots are meant to provide a reference
when panning and zooming. Based on the design of @pablovazquez, and
a patch originally authored by @fabian_schempp.

The "Grid Levels" controls how many levels of dots are drawn. As the
editor zooms in, the higher levels of dots fade in, making them closer
together visually. The zoom factor at which each grid starts and ends
fading in is controllable in the code, and could be tweaked further
in the future. The new default value is 7, out of a range from 0 to 9.

Differential Revision: https://developer.blender.org/D10345
October 26, 2021, 02:19 (GMT)
Sequencer: Expose preview transform operators in menu

The also moves all the image operators into one menu.
The goal here is to expose the operators in the UI so they
work with the operator search and to make the UI consistent.

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D12808
October 26, 2021, 02:18 (GMT)
Cleanup: Clang format
October 26, 2021, 01:51 (GMT)
Use a generic function to operate on attribute to ensure that all types
are always supported.
October 26, 2021, 01:05 (GMT)
Cleanup: pass prop name instead of prop

This will allow for more genericity.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021