Blender Git Loki

Blender Git "lineart-shadow" branch commits.

Page: 17 / 76

August 10, 2021, 01:35 (GMT)
Cleanup: const pass `keyframes_keylist`.
August 10, 2021, 01:35 (GMT)
Cleanup: use range2f in `ED_keylist_find_any_between`.
August 10, 2021, 01:35 (GMT)
Cleanup: use const result in `ED_keyframes_find_*` functions.
August 10, 2021, 01:35 (GMT)
Cleanup: clang tidy

`bugprone-signed-char-misuse`
August 10, 2021, 01:35 (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 10, 2021, 01:35 (GMT)
Fix missing function param definition in rna_xr.c

Was accidentally left out in rBe844e9e8f3bb.
August 10, 2021, 01:35 (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
August 10, 2021, 01:35 (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.
August 10, 2021, 01:35 (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 10, 2021, 01:35 (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
August 10, 2021, 01:35 (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 10, 2021, 01:35 (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 10, 2021, 01:35 (GMT)
Cleanup: Add missing newline at end of file

August 10, 2021, 01:35 (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 10, 2021, 01:35 (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 10, 2021, 01:35 (GMT)
Fix T90477: Cursor vertex snapping not working in UV editor

`t->obedit_type` is read to indicate if we are in uv edit mode.

Also fixes a crash introduced in {rBdd14ea18190ff27082009f73a556569a43377a71}.
August 10, 2021, 01:35 (GMT)
PyDoc: Fix poll_message_set API documentation to consistent with Python style

Fix poll_message_set API documentation to consistent with Python style

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D12150
August 10, 2021, 01:35 (GMT)
Cleanup: unnecessary double pointers in XR module

No functional changes.
August 10, 2021, 01:35 (GMT)
Windows: Add support to compile python api docs from make file

This adds support to compile the html python api docs from the command line by running `make doc_py` matching support between windows and unix.

This patch also makes it so the compiler is not needed if you set the `blender_bin` variable, this affects icon generation as well.

In the future, I want to move away from generating the build output in the build directory but that can come in a later change.

Reviewed By: LazyDodo

Differential Revision: https://developer.blender.org/D12144
August 10, 2021, 01:35 (GMT)
GPencil: New Select Random operator

Select strokes or points randomly (similar to meshes).

Reviewed By: pepeland

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