Blender Git Commits

Blender Git "master" branch commits.

Page: 185 / 5574

August 5, 2021, 13:26 (GMT)
LibOverride: Make it reasonably impossible for users to create overrides of scenes.

This is not supported currently,doing so through RNA API remains
possible, but from regular UI operations it should not be doable
anymore.

Ref. T90459.
August 5, 2021, 12:39 (GMT)
Fix fix invalid index use for edit-mesh laplacian smooth

Only vertex indices were ensured to be correct.
Revision fb1822d by Peter Kim
August 5, 2021, 12:11 (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
Revision f45860f by Julian Eisel
August 5, 2021, 10:52 (GMT)
Cleanup: Remove unused members in FileSelectParams
August 5, 2021, 10:49 (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.
Revision 02e0c6f by Julian Eisel
August 5, 2021, 10:14 (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 5, 2021, 10:12 (GMT)
Fix T90170: `RNA_property_pointer_get` creating data in non-thread-safe way.

Protect this accessor with a local static mutex when it needs to
create/write data.

Ideally accessors should never create or modify data, but there are some
cases where this bad behavior is currently unavoidable.

This is the case of the Pointer accessor when the actual IDProperty has
not yet been created.

NOTE: this fixes a memory leak in liboverride diffing process when
several different overrides use a same linked reference ID.

Differential Revision: https://developer.blender.org/D12060
August 5, 2021, 09:31 (GMT)
Fix T89835: Crash after Instancing to Scene after making linked Collection local.

Even though the ID itself remain the same after being made local, from
depsgraph point of view this is a different ID. Hence we need to tag all
of its users for COW update, as well as rebuild depsgraph relationships.

Should be also backported to LTS 2.93 (and 2.83 if possible).
August 5, 2021, 08:21 (GMT)
Fix T90256: faces are flat shaded in edit mode with auto smooth

Regression in 39b2a7bb7e815e051348bf5c5ec777d091324164.
August 5, 2021, 06:54 (GMT)
Cleanup: remove redundant parenthesis
August 5, 2021, 06:44 (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.
August 5, 2021, 06:44 (GMT)
Fix T89450: Crash slicing BMEditSelSeq

Slicing with indices greater than the length of the sequence would crash.
Revision 450593d by Ankit Meel
August 5, 2021, 05:30 (GMT)
Cleanup: Fix Clang braced-scalar-init warning
Revision d3d4be1 by Peter Kim
August 5, 2021, 04:14 (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 5, 2021, 02:03 (GMT)
Cleanup: tab indentation for CMake / GNUmakefile
August 5, 2021, 02:03 (GMT)
Cleanup: license headers

These were removed globally in 65ec7ec524e667ec95ce947a95f6273088dffee6.

Some files re-introduced these conventions since.
August 5, 2021, 01:32 (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 5, 2021, 00:25 (GMT)
PyDoc: Update GPU Example of `draw_view3d`

This function was changed in rBc8004ab4078c98c54a70113c12bbb186403e90cf but didnt update the example.

Part of T84227
August 4, 2021, 23:26 (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 4, 2021, 23:24 (GMT)
Cleanup: make format
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021