Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 183 / 5574

August 6, 2021, 14:26 (GMT)
Cycles: Fix for possible viewport dead-lock

This is a backport of recent development in the Cycles X branch.

Fixes possible dead-lock in viewport rendering when exiting at an
exact bad moment (couldn't reproduce in master branch, but in the
cycles-x branch it was happening every now and then).

Differential Revision: https://developer.blender.org/D12154
August 6, 2021, 13:56 (GMT)
Cleanup: Use conventional naming for private Session members

Makes it consistent with the guidelines and the Cycles X branch, and
allows to backport fix for the viewport update from the branch. Will
cause a merge conflict, which should be simple accept-ours in the
branch.
August 6, 2021, 13:32 (GMT)
Cleanup: Add missing newline at end of file

August 6, 2021, 13:29 (GMT)
Move NanoSVG lib to extern

The library has some modifications and it has been included in a diff.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D12142

(Some minor changes done in the patch)
August 6, 2021, 13:20 (GMT)
Cleanup: rename `FileList::asset_library` ? `asset_library_ref`

In the `FileList` struct, rename the `AssetLibraryReference
*asset_library` field to `asset_library_ref` -- it's a description of
which asset library is used, and not the asset library itself.

This is to make space for a future `AssetLibrary *asset_library` field,
which will point to an actual asset library struct/class.

No functional changes.

Reviewed by: Severin

Differential Revision: https://developer.blender.org/D12151
August 6, 2021, 13:01 (GMT)
Fix error setting the ID name in disabled alembic nurbs importe

This corrects code that's currently disabled, see `USE_NURBS` define.

The name passed to `BKE_curve_add` was overwritten,
bypassing uniqueness and utf8 encoding checks.

Longer names would cause a buffer overrun as the length of the source
data was passed to `BLI_strncpy` instead of the destination.

Reviewed By: sybren

Ref D12125
Revision 01c1b1e by Julian Eisel
August 6, 2021, 12:39 (GMT)
Fix shortcut for Asset Details not showing in Asset Browser pulldown

The shortcut wouldn't show up in the Asset Browser's "View" pulldown for
the "Asset Details" item. It's the "N" key to toggle the right sidebar.
August 6, 2021, 11:59 (GMT)
Fix T90476: intermittent wrong generated texture coordinates with modifiers

This caused Cycles texture_space_mesh_modifier and panorama_dicing tests to
randomly fail.

The issue was introduced with D11377, due to a missing dependency. Now ensure
we first copy the texture space parameters, and only then use or recompute then.

In general it seems like this dependency should have already been there, since
parameter evaluation includes animation and drivers, and geometry evaluation
may depend on that (even if you would not typically animate e.g. an autosmooth
angle).

Thanks Campbell for tracking this one down.
Revision b0df8f5 by Peter Kim
August 6, 2021, 08:56 (GMT)
Cleanup: rna_xr.c

- Rename functions to use RNA identifiers
- Use SET_FLAG_FROM_TEST macro
- Specify max string length for relevant function params
Revision 4c675bc by Peter Kim
August 6, 2021, 08:55 (GMT)
Fix missing function param definition in rna_xr.c

Was accidentally left out in rBe844e9e8f3bb.
Revision 151eed7 by Peter Kim
August 6, 2021, 08:55 (GMT)
Fix invalid XR action map indices after alloc

Although the relevant structs (wmXrRuntime/XrActionMap/
XrActionMapItem) are zero-allocated, the selected and active action
map indices need to be initialized to -1 to prevent potential
out-of-bounds list access.
August 6, 2021, 08:20 (GMT)
Cleanup: clang tidy

`bugprone-signed-char-misuse`
August 6, 2021, 07:54 (GMT)
Cleanup: use const result in `ED_keyframes_find_*` functions.
August 6, 2021, 07:46 (GMT)
Cleanup: use range2f in `ED_keylist_find_any_between`.
August 6, 2021, 07:10 (GMT)
Cleanup: const pass `keyframes_keylist`.
August 6, 2021, 04:24 (GMT)
Cleanup: use MEM_SAFE_FREE macro
Revision 99738fb by Hans Goudey
August 6, 2021, 02:10 (GMT)
Fix memory leak from rB263fa406cd2b
Revision 1f8485a by Hans Goudey
August 5, 2021, 23:42 (GMT)
Geometry Nodes: Select by Handle Type Node

Just like the "Select by Material" node, this node outputs a
boolean attribute for control points that have a matching handle
type. By default left and right handles are considered, but it's
possible to only check one side with the toggle in the node.

Differential Revision: https://developer.blender.org/D12135
August 5, 2021, 23:34 (GMT)
Fix: Avoid floating point error in some mesh primitive nodes

Some mesh primitives created using geometry nodes use loops to create
vertices and accumulates positions/angles in FP variables. This allows
rounding errors to accumulate and can introduce significant errors.

To minimize changes from original implementation, variables allowing
errors to accumulate are replaced by: delta * index. Affected Mesh
Primitives nodes are Line, Grid, Cylinder, Circle, Cone, and UV-Sphere.

Differential Revision: https://developer.blender.org/D12136
Revision 263fa40 by Hans Goudey
August 5, 2021, 23:27 (GMT)
Fix T90087: Assigning object data doesn't copy vertex groups

Assigning a mesh seems to do its own parameter copying, which
means we need to manual copy its vertex groups here, which was
just overlooked in rB3b6ee8cee708.

Differential Revision: https://developer.blender.org/D12110
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021