Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 972 / 5574

December 8, 2019, 04:05 (GMT)
Industry Compat keymap: Support tool cycling for all tool shortcuts

This makes is so repeated key presses will cycle the tools in the same slot in the toolbar.
Users can tap Q repeatedly to switch selection tools, or press Ctrl-E repeatedly to enable the various Extrude tools, etc.
December 7, 2019, 19:38 (GMT)
Fix ShaderNodeCustomGroup.copy method being called too often

This is only supposed to happen when copying nodes that are part of the user
editable database, not temporary copies for the dependency graph.

The LIB_ID_COPY_LOCALIZE test was wrong because it is a combination of multiple
bitflags as pointed out by Bastien, and was actually redundant anyway since
LIB_ID_CREATE_NO_MAIN is part of it.
December 7, 2019, 18:06 (GMT)
Shaders: noise and wave distortion now work uniformly instead of diagonally

Previously Noise and Wave texture nodes would use noise functions within a [0,1]
range for distortion effects. We either add or subtract noise from coordinates,
never do both at same time. This led to the texture drastically shifting on the
diagonal axis of a plane / cube. This behavior makes the Distortion input hard
to control or animate. Capabilities of driving it with other texture are also
limited, diagonal shifting is very apparent.

This was fixed by offsetting the noise function to a signed range and making it
zero-centered. This way noise is uniformly added and subtracted from coordinates.
Texture pattern sticks to main coordinates which makes it way easier to control.

This change is not strictly backwards compatible, there is versioning to ensure
the scale of the distortion remains similar, but the particular pattern can be
a little different.

Differential Revision: https://developer.blender.org/D6177
December 7, 2019, 16:16 (GMT)
UI: Custom Face Orientation Colors

Adds theme settings to allow change of front and back faces of the Face Orientation overlay

Differential Revision: https://developer.blender.org/D6262

Reviewed by Jeroen Bakker
December 7, 2019, 12:52 (GMT)
Shader Nodes: Add Interpolation modes to Map Range node

Modes: Linear interpolation (default), stepped linear, smoothstep and smootherstep.

This also includes an additional option for the **Clamp node** to switch between **Min Max** (default) and **Range** mode.

This was needed to allow clamping when **To Max** is less than **To Min**.

Reviewed By: JacquesLucke, brecht

Differential Revision: https://developer.blender.org/D5827
December 7, 2019, 12:33 (GMT)
Maths Node: Additional functions

When creating shaders and using maths functions it is expected that Blender should match functions in other DCC applications, game engines and shading languages such as GLSL and OSL.

This patch adds missing functions to the Blender maths node.

Ideally, it would be nice to have these functions available to vectors too but that is not part of this patch.

This patch adds the following functions trunc, snap, wrap, compare, pingpong, sign, radians, degrees, cosh, sinh, tanh, exp, smoothmin and inversesqrt.

Sign function is based on GLSL and OSL functions and returns zero when x == 0.

Differential Revision: https://developer.blender.org/D5957
December 7, 2019, 05:37 (GMT)
Cleanup: remove unused arguments
December 7, 2019, 02:20 (GMT)
Preferences: correct experimental flag use

Add utilities for checking when experimental features
should be used.
December 6, 2019, 21:10 (GMT)
UI: File Browser Volumes and System Lists Icons

Allows each File Browser list item in Volumes and System to use individual icons.

Differential Revision: https://developer.blender.org/D5802

Reviewed by Julian Eisel
December 6, 2019, 20:16 (GMT)
UI: disk to disc icon dat file rename

Changes file names of two icon 'dat' files to reflect previous identifier rename.

Differential Revision: https://developer.blender.org/D6166

Reviewed by Julian Eisel
December 6, 2019, 19:03 (GMT)
Tool System: experimental fallback tool support

Implement T66304 as an experimental option,
available under the preferences "Experimental" section.

- When enabled most tools in the 3D view have a gizmo.
- Dragging outside the gizmo uses the 'fallback' tool.
- The fallback tool can be changed or disabled in the tool options
or from a pie menu (Alt-W).
December 6, 2019, 18:57 (GMT)
Tool System: don't assert when showing tooltips in a different space

Needed to show fallback tool for the 3D view in the properties editor.
December 6, 2019, 18:57 (GMT)
UI: only use toolbar draw-style for buttons with icons

This allows tool buttons to be used in menus or popovers
and show as regular button styles.
December 6, 2019, 18:57 (GMT)
Gizmo: add optional background alpha for 2D button gizmo

This allows using the gizmo for a screen circle with a hollow
area in the center, useful for general dragging gizmos.
December 6, 2019, 18:37 (GMT)
Windows: Fix failing tests due to missing manifest.

Tests were missing a manifest, and were importing the
wrong version of Microsoft.Windows.Common-Controls
causing blenloader_test, bmesh_core_test and alembic_test
to fail due a loader error.
December 6, 2019, 18:21 (GMT)
Fix T71342: macOS does not always use the discrete GPU for Blender

This reverts commit 3d9cc4d3f174d01c96d65a4e9cd751699bcb8744. The commit
message and intent behind the commit is unclear. We generally want the
discrete GPU to be used for best performance, not the integrated GPU.
December 6, 2019, 17:12 (GMT)
Cleanup/Windows: Separate out the MS-CRT into a subfolder

In older versions the ms crt was only a few dlls, in recent versions
this jumped to over 40 leading to quite a bit of clutter in our
bin folder.

This change moves the CRT into its own folder.

For developers that generally already have the runtime globaly
available on their machine, there is a new cmake option
(WITH_WINDOWS_BUNDLE_CRT, default ON) that you can use to toggle
installing the runtime to the blender bin folder, and save some
time during the initial build, this option is off by default for
only the developer profile.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6132
December 6, 2019, 16:00 (GMT)
Fix crash when trying to decimate baked fcurve channels

No curve data was available for the modal decimate operator.
Added a check for when the curve has baked data.
December 6, 2019, 15:30 (GMT)
Fix T72215: Insert Blank Keyframe Active Layer) creates a new frame in all layers

The default parameter was saved and the next time the operator was used, if it was used all layers, the default value changed.
December 6, 2019, 14:35 (GMT)
Cleanup: clang-format
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021