Blender Git Commits

Blender Git "master" branch commits.

Page: 40 / 5574

November 23, 2021, 11:00 (GMT)
Cleanup: add missing pragma once
November 23, 2021, 09:38 (GMT)
BKE link/append: Add optional blendfile handle to libraries.

This enables calling code to deal with the blendfile handle themselves,
BKE_blendfile_link then just borrows, uses this handle and does not
release it.

Needed e.g. for python's libcontext system to use new
BKE_blendfile_link_append code.

Part of T91414: Unify link/append between WM operators and BPY context
manager API, and cleanup usages of `BKE_library_make_local`.
November 23, 2021, 08:44 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 08:43 (GMT)
Fix T93092: incomplete animation rendering of multi-layer exr composition

This was broken by rB0c3b215e7d5456878b155d13440864f49ad1f230.
The caching of loaded exr files needed some special treatment.

Differential Revision: https://developer.blender.org/D13313
November 23, 2021, 08:35 (GMT)
Fix T92654: missing padding in spreadsheet cells

This was probably broken by rB5c2330203e11e0d916960218b07d88d2193bf526.
For now just add the padding back in a spreadsheet specific way.

Differential Revision: https://developer.blender.org/D13315
November 23, 2021, 08:32 (GMT)
Fix T93090: crash with data transfer modifier and geometry nodes

There was a missing normals layer that was requested by the data transfer
modifier from the target object. The normal layer was correctly added to
the target object. However, it never reached the data transfer modifier
because the mesh was copied in `BKE_object_get_evaluated_mesh`
(in the call to `get_mesh_for_write`) and the copy does not include the normals
layer.

The solution is to not use `get_mesh_for_write` here which was only used
because `BKE_object_get_evaluated_mesh` returns a non-const `Mesh *`.
Mid term, it should actually return a `const Mesh *` to avoid the confusion.

Differential Revision: https://developer.blender.org/D13319
November 23, 2021, 07:47 (GMT)
Cleanup: Use new CollectionRef::empty() method

Use the new CollectionRef::empty() method in all locations where
appropriate.

Differential Revision: https://developer.blender.org/D13276
November 23, 2021, 07:39 (GMT)
Cleanup: silent clang-tidy warning NULL vs nullptr.
November 23, 2021, 04:40 (GMT)
VSE: Add drag and drop handler for preview area

For some users, dropping assets into preview area may be more practical
due to space constraints or it may be just more intuitive.

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D13311
November 23, 2021, 04:39 (GMT)
VSE: Support drag and drop for datablocks

For using the Outliner and/or the Asset Browser as scene independent
tools to organize a/v source material is necessary for the users to be
able to drag and drop data blocks into the VSE. This was also an
unfulfilled design target for the Outliner Gsoc project.

Datablocks won't be used directly. Path to file will be passed to strip
add operator instead.

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D13304
November 22, 2021, 23:57 (GMT)
Merge branch 'blender-v3.0-release'
Revision f749506 by Sayak Biswas / Brecht Van Lommel
November 22, 2021, 23:55 (GMT)
Fix T93244: Cycles HIP not working with multi GPU rendering

Use the correct device function (hipDeviceGet) for multi GPU setups, instead
of hipGetDevice which just returns the default device.

Differential Revision: https://developer.blender.org/D13323
November 22, 2021, 22:40 (GMT)
Fix: Const warning in editmesh_knife.c

Fixes a warning caused by freeing a const pointer.
This commit removes the const modifier.

Differential Revision: https://developer.blender.org/D13321
Revision 456d5e1 by Julian Eisel
November 22, 2021, 20:26 (GMT)
Merge branch 'blender-v3.0-release'
Revision 481f032 by Julian Eisel
November 22, 2021, 20:14 (GMT)
Assets: Generate light preview when making light object an asset

We already supported previews for lights, just didn't actually use them
when making a light object an asset. They were only used when making the
light data itself an asset.
Revision 34615cd by Julian Eisel
November 22, 2021, 20:12 (GMT)
Fix grayed out preview generation button for light objects

Mistake in e7bea3fb6ed0.

We should only skip preview generation for objects that don't support
preview rendering, not completely forbid accessing preview data of such
IDs.
November 22, 2021, 20:06 (GMT)
Merge branch 'blender-v3.0-release'
November 22, 2021, 20:02 (GMT)
Fix T93283: Cycles render error with CUDA CPU + GPU after recent optimization

BVH2 triangle intersection was broken on the GPU since packed floats can't
be loaded directly into SSE. The better long term solution for performance
would be to build a BVH2 for GPU and Embree for CPU, similar to what we do
for OptiX.
November 22, 2021, 19:58 (GMT)
Fix part of T93278: transparent glass option not working with environment pass
November 22, 2021, 18:44 (GMT)
Fix confusing new Cycles UI terminology

* Rename "Auto Tiles" to "Use Tiling", it's not really automatic and
confusing with the old auto tile size add-on.
* Rename "Adaptive" scrambling distance to "Automatic", to avoid confusion
with adaptive sampling.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021