Blender Git Commits

Blender Git "temp-lineart-contained" branch commits.

Page: 11 / 66

August 10, 2021, 01:35 (GMT)
Fix T90421: edit-mode auto-smooth crash when angle set to 180degrees

Error in 39b2a7bb7e815e051348bf5c5ec777d091324164
which failed to set edge flags with single threaded calculation,
used for low poly models.
August 10, 2021, 01:35 (GMT)
Cleanup: remove *.rej from cb67bfdba2e22d0ee967e50afe0912ac80d73e9b
August 10, 2021, 01:35 (GMT)
Tweak to recent liboverride API addition: naming.

Rename new API function introduced in recent rB3b0fab6dfaa0 to match our
convention to put the action (verb) at the end of names:
`operations_update`.

Sorry for not catching that during review.
August 10, 2021, 01:35 (GMT)
Cleanup: Remove unused members in FileSelectParams
August 10, 2021, 01:35 (GMT)
Fix Cycles material slots list being too short

Bring it in line with Eevee.

Differential Revision: https://developer.blender.org/D11982
August 10, 2021, 01:35 (GMT)
XR: Action Binding Improvements

Provides several important improvements to the runtime action
bindings operation and internal API.

Moves input-specific action data (input thresholds, input regions,
pose offsets/spaces) from actions to more granular action bindings.
This allows a single action to be mapped to a variety of inputs,
without having to share a single input threshold, region, or space.

Also removes the need for action space creation API, as spaces for
pose actions will be automatically created with the bindings.

The correct action data for the current inputs is set by calling
xrGetCurrentInteractionProfile() to get the current profile and then
retrieving the corresponding mapped data.

Does not bring about any changes for users since only internal
runtime functionality is currently affected.

Reviewed By: Julian Eisel

Differential Revision: https://developer.blender.org/D12077
August 10, 2021, 01:35 (GMT)
Cleanup: license headers

These were removed globally in 65ec7ec524e667ec95ce947a95f6273088dffee6.

Some files re-introduced these conventions since.
August 10, 2021, 01:35 (GMT)
Fix T90430: Crash when dragging material

Was trying to get asset information even when there was none, i.e. when
the material wasn't an asset or not dragged from the Asset Browser.
August 10, 2021, 01:35 (GMT)
Fix T89214: Smooth Vertices (Laplacian) produces NaN coordinates

Vertices with no connected faces would attempt to divide by the combined
face area causing a divide by zero.

Use the same weight for wire vertices as vertices connected
to zero area faces.
August 10, 2021, 01:35 (GMT)
Fix T90427: Center View to Mouse broken

rBfb87d236edb7 made the values returned by `projmat_dimensions` more
standardized following the documentations. But the functions in Blender
that called `projmat_dimensions` followed a proposal that these values
corresponded to a distance of 1m of clip.

Adjust these functions to follow the new algorithm.
August 10, 2021, 01:35 (GMT)
Windows: Add icons and icons_geom to make.bat

This adds support for building the icons from make.bat
unlike bash there is no passing environment variables
on the command line.

The scripts go out of their way to locate both blender
and inkscape however if they are not found, the user is
given a helpful error message telling them how to set
the variables.

Although some extra help can be given there, if your
normal build is a 2019 full build running

`make 2019 full icons`

will help it find the blender executable as well.

finally if you know the name of your build folder
running

`make builddir build_windows_Lite_x64_vc16_Release icons`

will also work, if all fails you can point directly to
the blender executable by running

`set BLENDER_BIN=c:whereblenderlivesblender.exe`

before running `make icons` or `make icons_geom`

The python scripts needed some small modifications since
without the PATHEXT, SystemRoot and SystemDrive
environment variables python will not initialize properly
on windows. (Not blender related, even mainline python
won't start without those)
August 10, 2021, 01:35 (GMT)
Cleanup: tab indentation for CMake / GNUmakefile
August 10, 2021, 01:35 (GMT)
Win32 IME: Remove ime_status_

This removes one member of GHOST_ImeWin32 that is not used and cannot
be used in the future. It is holding the result of ImmIsIME, which is
whether an input language supports IME. It does not indicate that one
is in use, turned on, composing, in English mode, etc.

see D12131 for more information.

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

Reviewed by Ray Molenkamp
August 10, 2021, 01:35 (GMT)
BLI: add double version of 'scaleform'

No functional changes. New utility.
August 10, 2021, 01:35 (GMT)
PyDoc: Improve description of texture.evaluate

Inspired by the old 2.49 docs: https://docs.blender.org/api/249PythonDoc/Texture.Texture-class.html#evaluate
August 10, 2021, 01:35 (GMT)
Win32 IME: Rename SetInputLanguage()

GHOST_ImeWin32::SetInputLanguage() has a confusing name because it does
not set the input language. It actually retrieves the current input
locale from the OS and caches the value of the current input language
ID. Therefore this patch renames it to "UpdateInputLanguage"

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

Reviewed by Ray Molenkamp
August 10, 2021, 01:35 (GMT)
GPencil: New Brush option to define Caps type

This is used to set the default caps type for the stroke. Before always was rounded and only could be changed later in Edit mode

Two new buttons has been added to topbar.

NOTE: New icons are been designed (T90414)

The buttons are expanded to list in Properties panel.

Reviewed By: mendio, HooglyBoogly

Differential Revision: https://developer.blender.org/D11999
August 10, 2021, 01:35 (GMT)
XR: Controller Data Improvements

Provides two key improvements to runtime controller data.

1. Separates controller poses into two components, "grip" and "aim",
which are both required to accurately represent the controllers
without manual offsets.

Following their OpenXR definitions, the grip pose represents the
user's hand when holding the controller, and the aim pose represents
the controller's aiming source.

2. Runtime controller data is now stored as a dynamic array instead
of a fixed array. This makes the API/functionality more adaptable to
different systems.

Does not bring about any changes for users since only internal
runtime functionality is currently affected.

Reviewed By: Julian Eisel

Differential Revision: https://developer.blender.org/D12073
August 10, 2021, 01:35 (GMT)
Cleanup: remove redundant parenthesis
August 10, 2021, 01:35 (GMT)
Fix slicing with negative indices

Negative indices that remained negative after adding the sequence length
caused incorrect slicing.

With the default scene for example:

bpy.context.scene.objects[-4:2]

Gave a different result to:

tuple(bpy.context.scene.objects)[-4:2]

Clamp indices above zero so loops that step forward works as intended.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021