Blender Git Commits

Blender Git "master" branch commits.

Page: 95 / 5574

October 21, 2021, 12:39 (GMT)
Fix T92169: "View Selected" on Custom Boneshape with transform wrong

Since the introduction in rBfc5bf09fd88c, `BKE_pose_minmax` was not
taking these custom transforms into account (making "View Selected"
ignoring these as well and focusing on the bone instead).

Now consider these transforms in `BKE_pose_minmax`.

Maniphest Tasks: T92169

Differential Revision: https://developer.blender.org/D12942
October 21, 2021, 11:46 (GMT)
Deps: Python, bundle zstandard package

This package allows Python scripts to handle compressed blend files (see
rB2ea66af742bc). This is for example needed by Blender Asset Tracer to
send files to a Flamenco render farm.

This change includes a new `WITH_PYTHON_INSTALL_ZSTANDARD` build-time
option, to control whether to actually install the package. For this the
already-existing approach for Requests was copied.

Reviewed By: LazyDodo, mont29, brecht

Differential Revision: https://developer.blender.org/D12777
October 21, 2021, 11:46 (GMT)
Deps: Python, bump bundled packages to their latest versions

certifi : 2020.12.5 ? 2021.10.8
chardet : 4.0.0 ? charset-normalizer 2.0.6
cython : 0.29.21 ? 0.29.24
idna : 2.10 ? 3.2
numpy : 1.19.5 ? 1.21.2 (which makes it possible to remove our patch)
requests: 2.25.1 ? 2.26.0
urllib3 : 1.26.3 ? 1.26.7

Nowadays `requests` no longer depends on `chardet` but on
`charset-normalizer`. That project describes itself as:

> A library that helps you read text from an unknown charset encoding.
> Motivated by chardet, I'm trying to resolve the issue by taking a new
> approach. All IANA character set names for which the Python core library
> provides codecs are supported.

Reviewed By: LazyDodo, mont29, brecht

Differential Revision: https://developer.blender.org/D12777
October 21, 2021, 11:46 (GMT)
Deps: Bump Python 3.9.2 ? 3.9.7

Bump Python from 3.9.2 to 3.9.7, which is the latest 3.9 release at this
moment.

Updates to bundled Python packages will follow in a separate commit.

Reviewed By: LazyDodo, mont29, brecht

Differential Revision: https://developer.blender.org/D12777
October 21, 2021, 11:08 (GMT)
Cleanup: make HIP and CUDA code more consistent

Ref D12834
October 21, 2021, 11:07 (GMT)
Fix T65532: can't assign a key on Italian apple keyboards.

Apple's international keyboards have an additional `kVK_ISO_Section`
key. With some (Italian, Spanish) keyboard layouts, this is ``, `[` keys
which Blender keymap can use.

Right now this key is explicitly set as `Unknown`.

Note that `kVK_ANSI_Grave` is located in a different location.

Differential Revision: https://developer.blender.org/D12905
October 21, 2021, 11:06 (GMT)
Build: remove cmake messages about disabled tests when feature is disabled

No need to report this, it just adds noise to the cmake config. The messages
that we need to keep are the ones about disabling tests when the test file or
idiff are missing.
October 21, 2021, 10:55 (GMT)
IDManagement: Add option to clear asset data when making ID local.

When appending an asset from the asset browser, its asset data needs to
be cleared.

However, linking an asset (or regular append from the file browser)
should not clear such data. In linking case, it would be there again
after a blend file reload anyway.

So this commit introduces a new `BLO_LIBLINK_APPEND_ASSET_DATA_CLEAR`
option.

NOTE: in case the appended ID needs to be copied from its linked data
(instead of making the later directly local), asset data is lost anyway
since it is never copied with the ID currently.

Ref. {T91749} and D11768.
October 21, 2021, 10:39 (GMT)
Re-bundle Libmv to ensure it is in sync with the repo
October 21, 2021, 10:12 (GMT)
UI: Header / Tool Settings: Show tool icon when tools are collapsed

Show the scaled down tool icon when the tool region is collapsed. Show a
blank space when the tool region is visible.

* Minimize the UI flickering when changing the active tool.
* Show the active tool when the tool region is collapsed.
* Smaler header footprint (the tool name is not visible).

This is a follow up for T91536.

Differential Revision: https://developer.blender.org/D12939
October 21, 2021, 10:07 (GMT)
Fix T92387: crash in legacy point distribute node

This was caused by rB40c3b8836b7a36303ea9c78b0932758cbf277f93.
The same fix exists in the Distribute Points on Faces node.
October 21, 2021, 09:58 (GMT)
Install_deps: Rename `_VERSION_MAX` to `_VERSION_MEX` variables.

We define the minimum exclusive number for our supported dependencies
versions, and not the maximum inclusive number.

Thanks to @sybren for raising this point and finding the 'mex' math
term.
October 21, 2021, 09:28 (GMT)
Cleanup: VSE code docstring
October 21, 2021, 07:27 (GMT)
Cleanup: clang-format
October 21, 2021, 06:14 (GMT)
Cleanup: unused functuion warnings
October 21, 2021, 06:10 (GMT)
Docs: note why BLI_string_join_arrayN needs to nil terminate
October 21, 2021, 06:01 (GMT)
Cleanup: match cursor hide option with naming for the 3D viewport
October 21, 2021, 05:57 (GMT)
October 21, 2021, 05:57 (GMT)
Cleanup: de-duplicate function to instantiate objects

De-duplicates wm_append_loose_data_instantiate_object_base_instance_init
and object_base_instance_init.

Add BLO_object_instantiate_object_base_instance_init which also adds to
a collection since all callers did this.
October 21, 2021, 05:57 (GMT)
LibLink: ensure objects are selectable when "Select" is enabled

Appended objects could be hidden, making any further operations
potentially skip the newly added objects.

Now FILE_AUTOSELECT asserts when newly added options aren't selectable.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021