Blender Git Commits

Blender Git "master" branch commits.

Page: 29 / 5574

November 30, 2021, 14:19 (GMT)
Fix T93353: Reload Library Override file loses Constraints, take II.

When adding `INSERT` operations over RNACollection items, rna diffing
code did not properly report the properties as not being equals.

This in turn triggered the 'purge unused exiting override properties'
mechanism, thus deleting the exitsting (valid) insert override property
operation.

NOTE: This should also be backported to 2.93, and probably 2.83.

Reviewed By: sybren, jbakker

Maniphest Tasks: T93353

Differential Revision: https://developer.blender.org/D13426
November 30, 2021, 14:03 (GMT)
Fix T93477: Viewport X-Ray is influencing snapping even in material mode

The default snap behavior to perform on tools and cursors is to the
final geometry and not edited geometry.

In snapping to edited geometry, there are some specific behaviors that
are not convenient in some cases. For example the general occlusion
test of X-Ray geometries during dragdrop.

This fix also resolves a regression for tools like measure and placement
that were also ignoring the snap to face in x-ray mode.

Differential Revision: https://developer.blender.org/D13410
November 30, 2021, 14:02 (GMT)
LibLink/Append: Port `bpy.data.libraries.load` to new `BKE_blendfile_link_append` module.

Note that this fully replaces the 'PyCapsule' storage of linked/appended items
in the python API code by the generic storage of items in the
`BlendfileLinkAppendContext` data.

Maniphest Tasks: T91414

Differential Revision: https://developer.blender.org/D13331
Revision 8cf0d15 by Julian Eisel
November 30, 2021, 13:35 (GMT)
Fix T93508: Shift+F1 to switch to asset browser randomly crashes
November 30, 2021, 13:21 (GMT)
Geometry Nodes: Rename Curve Parameter, Add Index on Spline

- Rename the Curve Parameter node to Spline Parameter.
- Add "Index on Spline" to the node. This output is the index of
the current point on it's parent spline rather than the entrire curve.

Differential Revision: https://developer.blender.org/D13275
Revision 2f7bec0 by Julian Eisel
November 30, 2021, 12:01 (GMT)
Asset Browser: Fix incorrect user message

Text would display "No asset selected" when it actually inidicates that
there is no asset active (not selected). Changed it to "No active asset"
now.
Revision 3692c05 by Julian Eisel
November 30, 2021, 11:40 (GMT)
Fix Asset Browser properties region toggle not showing open/closed state

The button is supposed to be blue (default theme) when the properties
region is open, to indicate that state.
November 30, 2021, 11:14 (GMT)
Depsgraph: remove shading parameters component

This component served no purpose anymore. It was technical
dept from the early 2.80 days.

Differential Revision: https://developer.blender.org/D13422
November 30, 2021, 10:50 (GMT)
Asset Bundle Copy button: only report each external dependency once

The `ASSET_OT_bundle_install` operator only works when the blend file is
self-contained. It reports any external dependencies. Before this patch:

- every dependency was mentioned, even when it repeated the same
filename over and over again, and
- multiple dependencies were all mentioned in the error popup,
potentially filling the screen.

This is now resolved by:

- only reporting each external file once, and
- referring to the console when there are multiple external dependencies.

Reviewed by: severin, dfelinto

Differential Revision: https://developer.blender.org/D13413
Revision 2e53f8b by Julian Eisel
November 30, 2021, 10:29 (GMT)
Fix T92577: Cannot open shortcut folders on Windows

`file.select()` wasn't handling redirects as it should when it also
opens directories. This was only uncovered by a change in the keymap.

Reviewed By: Bastien Montagne, Harley Acheson

Differential Revision: https://developer.blender.org/D13388
November 30, 2021, 10:17 (GMT)
Merge branch 'blender-v3.0-release'
November 30, 2021, 10:15 (GMT)
VSE: Disable interactivity in combined view

Combined view of timeline and preview causes seemingly unpredictable
behavior after some operators have been allowed to run in preview
region.

Disable new features in this combined view, so behavior should be
consistent with previous versions.

ref: https://developer.blender.org/T92584

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D13419
November 30, 2021, 10:04 (GMT)
LibLink/Append: tweak asserts in main BKE link/append functions.

Now that those functions are much widely used, just return early in case
there is nothing to link/append, instead of asserting over it.
November 30, 2021, 09:56 (GMT)
Merge remote-tracking branch 'origin/blender-v3.0-release'

This includes adjustment of rBc12d8a72cef5 to the new path traversal code
introduced in rBe5e8db73df86.
November 30, 2021, 09:41 (GMT)
BPath traversing: allow skipping weak library references

Add flag to `BKE_bpath_traverse_id()` and friends to skip weak
references (see below). This makes a distinction between "this blend
file depends on that file" and "this blend file references that file,
but doesn't directly use its data". This distinction is for the Asset
Bundle install operator, which refuses to copy the blend file when it's
not self-contained.

Weak references are those that are not directly used by the blend file,
but are still present to allow path rewriting. For example, when an
Asset is loaded its originating blend file is saved in
`ID::library_weak_reference`; this reference is purely for deduplication
purposes, and not for actually loading any data.

Reviewed by: mont29, brecht

Differential Revision: https://developer.blender.org/D13412
November 30, 2021, 09:08 (GMT)
Fix T93442: Crash when proxy building is cancelled

If strip is removed while proxy is built, this causes crash when
building is finished. This happens because proxy anims are freed in
`SEQ_proxy_rebuild_finish()`.

Iterate over available strips and check if original strip still exists
by comparing `SessionUUID`.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D13408
November 30, 2021, 06:43 (GMT)
Tests: add edit-mesh operator tests

Added operator tests for hide, symmetry_snap, tris_convert_to_quads,
uvs_rotate, uvs_rotate, uv_texture_add, uv_texture_remove,
vert_connect_concave, vert_connect_nonplanar, vertex_color_add,
vertex_color_remove, vertices_smooth_laplacian, wireframe,
sculpt_vertex_color_add and sculpt_vertex_color_remove.

Ref D11798

Reviewed By: campbellbarton
November 30, 2021, 05:30 (GMT)
Revert "Fix: Const warning in editmesh_knife.c"

It's important the coordinates the knife is operating on are never
manipulated since it will cause problems which are difficult to
troubleshoot.

Instead, use a cast in the MEM_freeN(..) call.

This reverts commit 8600d4491fa4b349cb80241382c503abaf9c5ce9.
November 30, 2021, 03:32 (GMT)
Text Editor: Line number highlight follow selection

Change the current behavior of line number highlighting to follow the
current selected line text->sell, not the current line text->curl.
November 29, 2021, 23:15 (GMT)
Cleanup: use colon after doxygen params, correct slash direction
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021