Blender Git Loki

Blender Git commits from all branches.

Page: 20 / 2888

December 8, 2021, 06:53 (GMT)
Cleanup: remove some temp dev asserts in new link/append code.

No longer needed now that all code uses that new
BKE_blendfile_link_append module, and that instantiation code in
BLO_readfile has been removed.
December 8, 2021, 06:53 (GMT)
Fix T93611: Curve modifier crash in editmode in certain situations

Caused by {rB3b6ee8cee708}

Above commit was trying to get the vertexgroup from the mesh that is
passed into `deformVertsEM` (but that can be NULL).
When can it be NULL, when is is non-NULL?
`editbmesh_calc_modifiers` only passes in a non-NULL mesh to
`deformVertsEM` under certain conditions:
- a non-deform-only modifier is handled currently
- a non-deform-only modifier preceeds the current modifier
- a deform-only modifier preceeds the current modifier (and the current
one depends on normals)

So the passed-in mesh cannot be relied on, now get the vertex group from
the context object data (like it was before the culprit commit).

Related commit: rB8f22feefbc20

Maniphest Tasks: T93611

Differential Revision: https://developer.blender.org/D13487
December 8, 2021, 06:53 (GMT)
Fix T93707: Dragging the tweaked NLA strip causes crash

Earlier code assumed that the active strip was on the active track. This
commit detects when this assumption doesn't hold, and adds a more thorough
search of the active strip.
December 8, 2021, 06:53 (GMT)
cmake: fix linking with WITH_X11_XF86VMODE and bfd

Fix typos in the variables of the Xxf86vm libray to fix link failure
with bfd. These variables are defined in platform_unix.cmake.

Reviewed By: zeddb

Differential Revision: https://developer.blender.org/D12911
December 8, 2021, 06:53 (GMT)
Fix T93548: Appended (material) assets don't have a fake user

Since our design is to always keep data-blocks marked as assets on exit,
and our technical design for this is to do this via fake users, ensure
the fake user is set for an appended asset.

Reviewed by: Bastien Montagne

Differential Revision: https://developer.blender.org/D13443
December 8, 2021, 06:53 (GMT)
Fix T92308: OptiX denoising fails with high resolutions

The OptiX denoiser does have an upper limit as to how many pixels it can denoise at once, so
this changes the OptiX denoising process to use tiles for high resolution images.
The OptiX SDK does have an utility function for this purpose, so changes are minor, adjusting
the configured tile size and including enough overlap.

Maniphest Tasks: T92308

Differential Revision: https://developer.blender.org/D13436
December 8, 2021, 06:53 (GMT)
Cleanup: move public doc-strings into headers for 'python'
December 8, 2021, 06:53 (GMT)
Fix T93563: Crash subdividing with overlapping tri and quad

The first loop was left out when finding the split edge boundary.

Error from f2138686d9d8c105ebf8884774fd7e4d8ff239a1.
December 8, 2021, 06:53 (GMT)
BLI: avoid invoking tbb for small workloads

We often call `parallel_for` in places with very variable
sized workloads. When many elements are processed,
using multi-threading is great, but when processing
few elements (possibly many times) using `parallel_for`
can result in significant overhead.

I measured that this improves performance by >20% in
the refactored realize instances code I'm working on
separately. The change might also help with debugging
sometimes, because the stack trace is smaller and contains
fewer irrevelant symbols.
December 8, 2021, 06:53 (GMT)
Blenloader: move ghost include path from INC to TEST_INC

The Ghost dependency was added to avoid a memory leak (rBc7a1e115b507),
but since that's only for the unit tests, it's better to add the path to
`TEST_INC`.
December 8, 2021, 06:53 (GMT)
Fix: don't use `BLI_strncpy_utf8` for copying file paths

File paths can be any encoding, so using some UTF-8-specific function is
not the right way to go.
December 8, 2021, 06:53 (GMT)
Fix `Action.asset_data["is_single_frame"]` set incorrectly

The asset metadata custom property `["is_single_frame"]` was set
incorrectly. Since this is intended for forward compatibility, including
being covered by the asset metadata indexing, it's important to have it
set correctly from the first release of Blender that includes the asset
browser.

Differential Revision: https://developer.blender.org/D13452
December 8, 2021, 06:53 (GMT)
Cleanup: Move public docs to BKE_spline.hh header
December 8, 2021, 06:53 (GMT)
Fix (unreported): incorrect custom data layer created

Without this fix `CustomDataAttributes::create_by_move`
did not work on named attributes.
December 8, 2021, 06:53 (GMT)
Fix T93560: crash with image paint undo and cycles preview render

Cycles preview rendering could free the image buffers being used by drawing in
another thread due to a race condition. This race condition was unlikely before,
but now that preview renders are started right before we draw the image in the
image editor or load it as a texture in the 3D viewport, it's likely to happen.

As we are close to release this is too risky to fix properly, just avoid freeing
the cache for preview renders instead and accept increased memory usage in some
cases.
December 8, 2021, 06:53 (GMT)
Fix missing Blender logo in Windows store package

D9681 was not properly merged to all branches, leaving a path to a non-existent
icon file in the maniphest.
December 8, 2021, 06:53 (GMT)
Cleanup: Avoid using C++ keyword as variable name
December 8, 2021, 06:53 (GMT)
Asset Browser: Nest all catalogs under the "All" item

This makes the relation to the catalogs and the behavior more clear.

Part of T93582.
December 8, 2021, 06:53 (GMT)
Asset Browser: Remove home icon for "All" item

Originally this wasn't really meant to stay there permanently, but
helped giving things a nicer alignment. Others seemed to like it at
first so it stayed, but after more feedback we decided to remove it
again. The alingment is better now with the previous commit.

Part of T93582.
December 8, 2021, 06:53 (GMT)
Docs: 3.0 release description for Linux appdata

Includes a typo fix for 2.93.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021