Blender Git Commits

Blender Git "master" branch commits.

Page: 271 / 5574

May 17, 2021, 08:02 (GMT)
Fix PyAPI doc generation error in 43369ca80e62aa80b951823d1c78abef58852014

Files without doc-strings were not included.
May 17, 2021, 07:33 (GMT)
UI: use non-linear sliders

* Boolean Modifier > Fast > Overlap Threshold (Logarithmic).
* Remesh Modifier > Voxel > Voxel Size (Logarithmic).
* Sculpt > Dyntopo > Detail Size (Cubic).

Ref D9074
May 17, 2021, 07:33 (GMT)
UI: add non-linear slider support

This patch introduces non linear sliders. That means, that the movement
of the mouse doesn't map linearly to the value of the slider.

The following changes have been made.

- Free logarithmic sliders with maximum range of (`0 <= x < inf`)
- Logarithmic sliders with correct value indication bar.
- Free cubic sliders with maximum range of (`-inf < x < inf`)
- Cubic sliders with correct value indication bar.

Cubic mapping has been added as well, because it's used for brush sizes
in other applications (Krita for e.g.).

To make a slider have a different scale type use following line in RNA:
`RNA_def_property_ui_scale_type(prop, PROP_SCALE_LOGARITHMIC);`
or:
`RNA_def_property_ui_scale_type(prop, PROP_SCALE_CUBIC);`

Test the precision, step size and soft-min if you change the scale type
of a property as it will feel very different and may need tweaking.

Ref D9074
May 17, 2021, 05:55 (GMT)
Cleanup: remove commented code, use function to access header region
May 17, 2021, 05:22 (GMT)
Cleanup: missing declaration warning
May 17, 2021, 05:12 (GMT)
Cleanup: clang-format
May 17, 2021, 05:05 (GMT)
Cleanup: Fix missing-braces warning on Linux / GCC
Revision 0e581f6 by Ankit Meel
May 16, 2021, 05:49 (GMT)
Cleanup: Fix missing-braces warning on macOS Clang
Revision 49cb30b by Ankit Meel
May 16, 2021, 05:49 (GMT)
Cleanup: Fix inconsistent-missing-override warning
macOS Clang
Revision 9dabb34 by Hans Goudey
May 15, 2021, 23:00 (GMT)
Cleanup: Improve comments
Revision 4da16a0 by Hans Goudey
May 15, 2021, 22:50 (GMT)
Cleanup: Use helper function

Use the `CurveEval` function introduced in the last commit.
Revision 038c6e2 by Hans Goudey
May 15, 2021, 22:44 (GMT)
Splines: Convenience methods for point offsets of multiple splines

Since spline data is stored separately for each spline, the data often
needs to be flattened into a separate array. It's helpful to have the
necessarily-sequential part of that split off into a separate method.
I've found myself using functions like these in quite a few places.
Revision cb12fb7 by Peter Kim
May 15, 2021, 18:36 (GMT)
XR Controller Support Step 1: Internal Abstractions for OpenXR Actions

Adds internal API for creating and managing OpenXR actions at the
GHOST and WM layers. Does not bring about any changes for users since
XR action functionality is not yet exposed in the Python API (will be
added in a subsequent patch).

OpenXR actions are a means to communicate with XR input devices and
can be used to retrieve button/pose states or apply haptic feedback.
Actions are bound to device inputs via a semantic path binding
(https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#semantic-path-interaction-profiles),
which serves as an XR version of keymaps.

Main features:

- Abstraction of OpenXR action management functions to GHOST-XR,
WM-XR APIs.
- New "xr_session_start_pre" callback for creating actions at
appropriate point in the XR session.
- Creation of name-identifiable action sets/actions.
- Binding of actions to controller inputs.
- Acquisition of controller button states.
- Acquisition of controller poses.
- Application of controller haptic feedback.
- Carefully designed error handling and useful error reporting
(e.g. action set/action name included in error message).

Reviewed By: Julian Eisel

Differential Revision: https://developer.blender.org/D10942
May 15, 2021, 17:13 (GMT)
Cleanup: silence unused parameter warnings

Introduced in rB48fa029dd11b.
May 15, 2021, 16:34 (GMT)
Merge branch 'blender-v2.93-release'
May 15, 2021, 16:29 (GMT)
Fix T88204 EEVEE: Animated world light doesnt work during render

This was a bug uncovered by rB50782df42586.

Previously, the lightcache was always discarded between redraw and forced
to be updated again.

Now we check for update inside the render loop making it compatible with
accumulation motion blur and long exposure.
May 15, 2021, 15:52 (GMT)
Merge branch 'blender-v2.93-release'
May 15, 2021, 15:52 (GMT)
Fix T85845 EEVEE: Depth Of Field: Artifacts with slight out of focus

This was caused by the bokeh LUT being sampled outside the valid range.
But `texelFetch` is only valid if the sample actually exists. This lead to
undefined behavior.

The fix is to increase `DOF_MAX_SLIGHT_FOCUS_RADIUS` (which just offsets the
LUT along the X=Y axis) to avoid any sample outside the defined range.
May 15, 2021, 15:52 (GMT)
EEVEE: Depth of Field: Fix tile artifacts in mixed focus regions

This was caused by the slight focus gather not being wide enough
for small radii. Now the cast to int will properly round the radius to
the nearest integer.

This is related to T86244 Black Artefacts in EEVEE on Transparent BSDF
May 15, 2021, 13:53 (GMT)
GPencil: Add parameter removed by error in previous commit

This fix the compiler warning too.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021