Blender Git Commits

Blender Git "master" branch commits.

Page: 176 / 5574

Revision eb278f5 by Peter Kim
August 16, 2021, 02:46 (GMT)
XR: Color Depth Adjustments

This addresses reduced visibility of scenes (as displayed in the VR
headset) that can result from the 8-bit color depth format currently
used for XR swapchain images.

By switching to a swapchain format with higher color depth (RGB10_A2,
RGBA16, RGBA16F) for supported runtimes, visibility in VR should be
noticeably improved.

However, current limitations are lack of support for these higher
color depth formats by some XR runtimes, especially for OpenGL.

Also important to note that GPU_offscreen_create() now explicitly
takes in the texture format (eGPUTextureFormat) instead of a
"high_bitdepth" boolean.

Reviewed By: Julian Eisel, Cl�ment Foucault

Differential Revision: https://developer.blender.org/D9842
August 15, 2021, 23:08 (GMT)
Fix wrong usage of 'sizeof'

The intention was to use `ARRAY_SIZE`.

No functional changes.
August 15, 2021, 20:55 (GMT)
Fix T90658: selection of some 3D gizmos failing

Small error due to wrong variable usage.

Introduced in rBfcd2d63b644e.
August 14, 2021, 20:50 (GMT)
BLF: Do Not Preload Glyph Cache

This patch turns off the preloading of ascii glyphs and instead caches
each glyph the first time it is actually used.

See D12215 for much more detail.

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

Reviewed by Campbell Barton
Revision 8f2b60d by Hans Goudey
August 14, 2021, 02:46 (GMT)
Cleanup: Variable names, formatting, reduce indentation
August 13, 2021, 21:31 (GMT)
BLF Cleanup: Size Defines, Comments, etc

This patch makes some non-functional changes to BLF code. Some size
defines added, comments changed, simplification of macro
BLF_KERNING_VARS.

See D12200 for more details.

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

Reviewed by Campbell Barton
August 13, 2021, 20:36 (GMT)
Cleanup: rearrange includes

Bring the includes from the same project together.
August 13, 2021, 20:28 (GMT)
Fix T90637: Outliner: VSE context menu options are not working

Some of the enum options in the context menu operations are not
supported for all element types.

`TSE_SEQUENCE`, for example, only supports the `Select` option.

So, populate the enum list dynamically depending on the type.

Also add some calls that were missing for the `TSE_SEQUENCE` type.
(`WM_event_add_notifier` and `ED_undo_push`).
August 13, 2021, 18:45 (GMT)
Cleanup: fix typos in static variables

_desps --> _deps
August 13, 2021, 14:37 (GMT)
ViewLayer resync: Add sanity checks for objects/bases mappings.

Add a debug-only check regarding consistency of the cache (mapping from
objects to their bases) for a given ViewLayer.

Issues can happen otherwise when some code does remapping of objects,
and forgets to call `BKE_main_collection_sync_remap()` (which clears
those caches) instead of `BKE_main_collection_sync()`.
August 13, 2021, 14:37 (GMT)
Blendloader: Option to reports to skip list of recursively liboverride-resynced libs.

This extra info is not always needed/convinient to use, and requires
special attention to free the list, so allow not generating it.
August 13, 2021, 14:37 (GMT)
Fix T86883: Add/fix suport of liboverrides in relocate/reload library case.

There was already some code for that, but it was broken, and proper
resync was completely missing.

There might still be more resync needed in library linking operators
though.
August 13, 2021, 13:17 (GMT)
Fix T90595: some VSE strip properties do not identify strip name in anim
channel names

Working with multiple strips keyframes was unneccessarily difficult in
Animation Editors (since some anim channels could not be distinguished).

Namely `Crop` and `Transform` are nested structs (nested under
`Sequence`), so these were just displaying the raw struct name.
Also strip modifiers did not have their strip name in their channel
names. Now include the strip name for these.

before
{F10277439}

after
{F10277441}

Maniphest Tasks: T90595

Differential Revision: https://developer.blender.org/D12193
August 13, 2021, 12:33 (GMT)
Fix FTBFS on mips64el architecture

While trying to get Blender 2.93.x LTS to build fine on all release architectures in Debian, I noticed that the misleading use of "mips" as integer variable caused problems when compiling on mips64el. The patch should fix the issue.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D12194
August 13, 2021, 09:45 (GMT)
Revert "Mesh: replace saacos with acosf for normal calculation"

This reverts commit 41e650981861c2f18ab0548e18851d1d761066ff.

This broke "CubeMaskFirst" test.

Any value even slightly outside the [-1.0..1.0] range
caused the result to be nan, which can happen when calculating
the dot-product between two unit length vectors.
August 13, 2021, 09:16 (GMT)
Cleanup: Unused function parameter warning
August 13, 2021, 09:07 (GMT)
Fix Action Editor unlink button when in tweak mode

When in NLA tweak mode, the action unlink button in the Dopesheet /
Action Editor should be a mere shortcut to exiting tweak mode [nothing
else].

Instead, it was also clearing the action fully, not returning to the
previous edited action before going into tweak mode.

Now dont "flush" by clearing the action, instead exit tweakmode, clear
the scenes SCE_NLA_EDIT_ON flag (if this isnt done some NLA operators
like pushdown were not immediately available because their poll checked
this flag) and send appropriate notifier to have everything update nicely.

Part of T87681 (Bug 4/5/6).

Maniphest Tasks: T87681

Differential Revision: https://developer.blender.org/D11052
August 13, 2021, 08:52 (GMT)
Cleanup: correct comment exiting NLA tweakmode

Comment was pasted from entering tweakmode.
August 13, 2021, 08:09 (GMT)
Fix missing animation UI update in the Properties Editor

Animation indicators as well as decorators for properties were not
updating correctly in the following cases:
- NLA pushdown (this was reported in T87681)
- NLA enter/exit tweakmode
- Outliner unlinking/setting action

These actions all send a ND_NLA_ACTCHANGE notifier which the Properties
Editor was not listening to [which is now added].

part of T87681.

Maniphest Tasks: T87681

Differential Revision: https://developer.blender.org/D11040
August 13, 2021, 07:37 (GMT)
Keyframe: Reduce GPU context switches.

This change reduces the GPU context switches when drawing keyframes.
In the previous situation the keyframe blocks and keyframe keys were
drawn per channel. With this patch first all the keyframe blocks are
drawn for all channels and after that the keyframe keys are collected
for all channels and send to the GPU in a single draw call.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021