Blender Git Commits

Blender Git "master" branch commits.

Page: 39 / 5574

November 23, 2021, 13:49 (GMT)
Geometry Nodes: reduce overhead when processing single values

Currently the geometry nodes evaluator always stores a field for every
type that supports it, even if it is just a single value. This results in a lot
of overhead when there are many sockets that just contain a single
value, which is often the case.

This introduces a new `ValueOrField<T>` type that is used by the geometry
nodes evaluator. Now a field will only be created when it is actually
necessary. See D13307 for more details. In extrem cases this can speed
up the evaluation 2-3x (those cases are probably never hit in practice
though, but it's good to get rid of unnecessary overhead nevertheless).

Differential Revision: https://developer.blender.org/D13307
November 23, 2021, 13:39 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 13:38 (GMT)
Fix T93231: crash when overwriting vertex group with other domain

The problem was that we forgot to actually remove the vertex group when
it should be deleted. We only removed all the data that was attached to it.

Differential Revision: https://developer.blender.org/D13326
November 23, 2021, 13:38 (GMT)
Fix T93296: raycast node uses wrong domain for face corner attributes

This changes what domain is used by the raycast mode. This should fix the
behavior for face corner attributes (but may make it a bit slower for other
attributes). I think for 3.0 this is an acceptable trade off. For 3.1 we can do
what the comment suggests already.

Differential Revision: https://developer.blender.org/D13333
November 23, 2021, 13:36 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 13:36 (GMT)
Fix broken versionning after recent refactor of insertion in liboverrides.

rB33c5e7bcd5e5b79 doversion code was incorrectly dealing with 'insert in
first position' case from older blendfiles.

Specifically, a NULL anchor is valid (it means that the new item is the
first of the stored override data, and should be inserted at start of
the list).

Reported as part of T93321.
Revision 611e4ff by Julian Eisel
November 23, 2021, 13:32 (GMT)
Icons: Replace .blend file icons, add "Current File" icon

The Blender icon must not be used to refer to anything that is not
Blender itself. Using the Blender icon on its own to refer to .blend
files or the currently open file is a no-go, which was brought up by
Ton.

This does the following changes to the icon file:
* Add new "Current File" icon
* Change the .blend file icon to contain a file icon with the Blender
logo, but not merely the Blender logo.
* Change the backup .blend file icon accordingly.

The new "Current File" icon is used in the Asset Browser, but
could/should be used in the Outliner as well. That needs more design
discussion though.
November 23, 2021, 13:30 (GMT)
Cleanup: Silence compilation warning.

For now made DRW_notify_view_update_offscreen static.
November 23, 2021, 13:17 (GMT)
Merge branch 'blender-v3.0-release'

Conflicts:
source/blender/editors/transform/transform_generics.c
November 23, 2021, 13:15 (GMT)
Cleanup: clang-tidy warnings

Silenciate warnings of usage of 'else' after 'return'
November 23, 2021, 13:08 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 13:08 (GMT)
Fix T89204: slow repeated rendering with GPUOffscreen.draw_view3d.

Reviewed By: fclem
Differential Revision: D13235
November 23, 2021, 12:03 (GMT)
Documentation: Remove deprecated glColor* from bgl module.

glColor isn't supported but still part of the documentation. This
patch removes the glColor from the documentation.

Ref {T93315}
November 23, 2021, 12:02 (GMT)
Merge remote-tracking branch 'origin/blender-v3.0-release'
November 23, 2021, 12:02 (GMT)
Cleanup: fix clang-tidy warnings

Fix clang-tidy warnings introduced by a recent commit on the release
branch.

No functional changes.
November 23, 2021, 11:39 (GMT)
Merge remote-tracking branch 'origin/blender-v3.0-release'
November 23, 2021, 11:29 (GMT)
Asset Browser: add operator for installing asset bundles

Add an operator "Copy to Asset Library" for installing asset bundles
into already-existing asset libraries.

The operator is shown when:
- the "Current File" library is selected,
- the blend file name matches `*_bundle.blend`, and
- the file is not already located in an asset library.

The user can select a target asset library, then gets a "Save As"
dialogue box to select where in that library the file should be saved.
This allows for renaming, saving in a subdirectory, etc.

The Asset Catalogs from the asset bundle are merged into the target
asset library.

The operator will refuse to run when external files are referenced. This
is not done in its poll function, as it's quite an extensive operator
(it loops over all ID datablocks).

Reviewed by: Severin

Differential Revision: https://developer.blender.org/D13312
November 23, 2021, 11:18 (GMT)
BKE LibLink/Append: Add mechanism for external code to loop over link/append context items.

Will be required for python's `bpy.data.libraries.load()` refactor.
November 23, 2021, 11:17 (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, 11:05 (GMT)
Cleanup: remove unnecessary "extern"
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021