Blender Git Commits

Blender Git "blender-v2.93-release" branch commits.

September 6, 2021, 07:37 (GMT)
Fix T91159: GPencil Smooth brush is using Affect Pressure but not used

The parameter wa sin the UI but was not used because it was replaced by Use Thickness.
September 6, 2021, 07:36 (GMT)
Fix T88433: no greaspencil depsgraph evaluation with certain drivers

When the same stroke was used as a driver variable, this could make this
stroke already tagged as built in the course of building driver
variables (via `build_gpencil`), but then important stuff from
`build_object_data_geometry_datablock` could be missed later on (because
both of these funtions use `checkIsBuiltAndTag`). Most importantly,
setting up operations such as GEOMETRY_EVAL would be skipped entirely.

`build_object_data_geometry_datablock` seems to cover greasepencil just
fine (does the same as `build_gpencil` and more). Proposed solution is to
remove `build_gpencil` entirely. In `build_id` it would then also call
`build_object_data_geometry_datablock` for `ID_GD` IDs. Now the covered
types that _call_ `build_object_data_geometry_datablock` match exactly
to what is covered _inside_ `build_object_data_geometry_datablock`.

Think this "duplication" of functionality was just overseen in
rB66da2f537ae8 [`build_gpencil` existed long before and said commit made
greasepencil a real object with geometry and such].

thx @JacquesLucke for additional input!

Maniphest Tasks: T88433

Differential Revision:
September 6, 2021, 07:36 (GMT)
Fix T91060: GPencil Time Offset Modifier breaks evaluation time

Caused by {rBf3bf87e5887c}.

When using a GPencil Time Offset Modifier, the bGPDlayer>actframe can be
NULL. This can be determined though, but above optimization commit
skipped getting the active frame in this case entirely (with the
intention to only get it if framenumbers did not match).

Now also call BKE_gpencil_layer_frame_get() if actframe is NULL in order
to fetch a valid one if present.

Maniphest Tasks: T91060

Differential Revision:
September 6, 2021, 07:35 (GMT)
Fix T88887: Audio causes issues with Playback when PC put to Sleep, Hibernate or when Screensaver appears

Porting WASAPI device reinitialization from upstream.
September 6, 2021, 07:34 (GMT)
Fix error scaling thumbnails to zero dimensions

Follow up to fix for T89868.
September 6, 2021, 07:33 (GMT)
Fix T88909: Win32 getTitle() UTF8 Support

In the Win32 platform our setTitle() can properly assign a Unicode
utf-8 window title. Unfortunately our getTitle() will only read regular
8-bit character strings. This means that we can never compare what we
set to what we get. This patch updates getTitle() to use Unicode-aware
GetWindowTextLengthW and GetWindowTextW.

see T88909 for an example of this affecting user experience.

Differential Revision:

Reviewed by Ray Molenkamp
September 6, 2021, 07:30 (GMT)
Fix "Text to Object" creating invisible object

Newly created objects would not become visible until
another action forced a depsgraph update.
September 6, 2021, 07:30 (GMT)
Fix invalid mask use for the UV-project modifier

Mistake in a30a8179331d689c9e599fb9a530c0b6b155f689.
September 6, 2021, 07:28 (GMT)
Fix buffer size mismatch in SCRIPT_OT_python_file_run

Reading paths over 512 bytes would cause a buffer overrun.
September 6, 2021, 07:27 (GMT)
Fix T88812: Child Windows on Vertical Monitors

This patch improves the positioning of child windows when on monitors
that are arranged vertically (any above any other). When calculating a
window position in Ghost coordinates from GL coordinates we were using
monitor height, which can give incorrect values when desktop is taller
than any single monitor. So use desktop height instead.

See D10637 for more details and examples.

Differential Revision:

Reviewed by Brecht Van Lommel
September 6, 2021, 07:27 (GMT)
Audaspace: porting PulseAudio fixes from upstream.
September 6, 2021, 07:26 (GMT)
Audaspace: porting pulseaudio fixes from upstream.
September 6, 2021, 07:24 (GMT)
Fix T90772: Image Editor not sampling color from the the currently
selected pass

Caused by {rBebaa3fcedd23}.

Seems this above commit assumed an ImageUser's multi_index is only used
for Multiview/Stereo? This is not the case, multi_index also stores the
index for layer/pass combination.

If we call both BKE_image_multilayer_index and BKE_image_multiview_index
(even though this is not appropriate/needed for multilayer images?), we
might end up overwriting multi_index again.

note: looking at this I was also wondering why we update the ImageUser
in image-buffer-aquiring funnctions [and not from the UI, e.g.
template_image_layers, but that is a whole different story I guess, see
comment in T90772 as well]

note2: this could also use a utility function (this is not the only
place where this is done), this is fo a cleanup commit.

Maniphest Tasks: T90772

Differential Revision:
September 6, 2021, 07:22 (GMT)
Fix T90651: camera reconstruction crash without scene camera

This was working differently in 2.79, tried tracking this down and it
seems this was wrong since the 2.8 beginning in {rB7907dfc40018}.

This would not only crash without an active scene camera, but would also
result in different tracks from different camera's constraints could not
be selected.

So select id depends on corresponding camera, remove the dependency on
scene camera completely.

Maniphest Tasks: T90651

Differential Revision:
September 1, 2021, 11:53 (GMT)
Version bump: 2.93.5-rc
August 31, 2021, 09:23 (GMT)
Version bump: 2.93.4-release
August 25, 2021, 13:43 (GMT)
FFMPEG: Fix building with older versions that need FFMPEG_USE_DURATION_WORKAROUND
August 25, 2021, 13:43 (GMT)
VSE: Flush audio encode after finishing video export

We didn't flush audio after encoding finished which lead to audio
packets being lost.

In addition to this the audio timestamps were wrong because we
incremented the current audio time before using it.

Reviewed By: Richard Antalik

Differential Revision:
August 23, 2021, 11:50 (GMT)
Pipeline: Use more explicit cuda versions.
August 23, 2021, 09:55 (GMT)
Add sanity NULL checks when loading sound sequences

Would cause crashes in files that had lingering invalid sound sequences around.
For example our tests/render/volume/fire.blend test file.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021