Blender Git Commits

Blender Git "master" branch commits.

Page: 326 / 5574

March 29, 2021, 15:10 (GMT)
Cleanup: Replace `is...Operation()` methods with a flag.
March 29, 2021, 15:02 (GMT)
Fix T86975: GPencil interpolate wrong stroke order

When interpolate, the stroke order was not correct because it was assumed the GHash iter would return the items in the same order of insertion, but this is false.

Now, a list is used to keep the order of the strokes and the Hash is used to get the relationship between strokes as before.
March 29, 2021, 15:02 (GMT)
Fix T87013: GPencil SVG export wrong svg xml header settings

The attribute was missing.
March 29, 2021, 14:57 (GMT)
Fix T86298: crash when loading "corrupted" geometry node tree

The file was not really corrupted (as in, Blender did everything
correctly while saving). I only did not consider the case when
a .blend file is resaved in an older version before.
March 29, 2021, 14:40 (GMT)
Fix: Line Art panel in properties showing in the wrong order with add-ons

It should set bl_order to show below panels registered by render engine add-ons
like Cycles.
March 29, 2021, 14:19 (GMT)
Mask: Fix possible nan values in the weight interpolation

Noticed while looking into animation data being created as per
steps to reproduce bug in T76872.
March 29, 2021, 14:19 (GMT)
Fix T76872: Mask created after existing keyframe gets broken handles

The issue was caused by handles not being written to the new mask
spline shape: it was always written as (0, 0), which was making the
handle calculation go wrong later on.

Solved by allocating a temporary array of bezier points and calculating
handles for them. While this is an extra array allocation it is only
done for a small amount of points and it is not in the critical code
path. Having this as an extra array helps to overcome a limitation of
the current mask shape API.

Additionally, disable the interpolation for the shape change:
the spline is brand new, there is nothing to be interpolated there.
Revision 10e05bb by Falk David
March 29, 2021, 13:56 (GMT)
GPencil Cleanup: Remove legacy key to cancel drawing

The 'E' key was set to cancel drawing. This was a change in the
old grease pencil system and is no longer used.
Revision fa8269c by Sybren A. Stüvel
March 29, 2021, 13:01 (GMT)
Animation: add `PBONE_SELECTED` macro

Add `PBONE_SELECTED` macro to determine selection state of bones, while
also taking visibility into account.
March 29, 2021, 13:01 (GMT)
Cleanup: clang-format.
March 29, 2021, 12:43 (GMT)
Tracking: Avoid integer overflow in dopesheet update

Straightforward check to discard cases when dopesheet is being updated
for a movie clip which has no markers at all.

Possible bugfix for T86847.
March 29, 2021, 11:05 (GMT)
Fix T86983: `bl_description = None` crash on RNA class registration
March 29, 2021, 10:16 (GMT)
Fix: Cryptomatte Metadata Trimmed to 1024.

When reading metadata from image files the metadata is trimmed to 1024.
For cryptomatte the metadata can contain json data and should not be
trimmed. Resulting additional checks in the manifest parser for
incomplete json data.

You could argue to add an exception for cryptomatte, but that would
still allows misuse. When the direction of this patch is accepted we
should consider removing `maxlen` from `IDP_AssignString` as it
doesn't seem to be used anywhere else.

Reviewed By: #images_movies, mont29, sergey

Differential Revision: https://developer.blender.org/D10825
March 29, 2021, 10:16 (GMT)
Fix T86851: PulseAudio randomly asserts in background rendering

Upstream fix from Audaspace with simplified PulseAudio code.

Maniphest Tasks: T86851

Differential Revision: https://developer.blender.org/D10840
March 29, 2021, 10:08 (GMT)
Python API: add template for image processing

Since a few releases it is possible to process Blenders images much
more effficiently than before thanks to the `foreach_get`/`foreach_set`
methods. This new template shows how those methods can be used together
with numpy.

Differential Revision: https://developer.blender.org/D9400
March 29, 2021, 10:04 (GMT)
Cleanup: Updated Documentation Library Overrides.
March 29, 2021, 09:51 (GMT)
Fix: Override Test Cases Failing With Asserts.
Revision 19f1c52 by Sergey Sharybin / Sergey Sharybin
March 29, 2021, 09:37 (GMT)
Cleanup: Remove no-op id recalc statement

Initially this is a typo when solving merge conflict back in 2017
in commit rBf4140f2c8138.

The code was so for 3 years, so it is safer to assume that this is
the new expected design. The affected codepath only comes from the
BKE_object_modifier_update_subframe() which is discouraged from use
and have other issues.

Eventually those offending codepaths will be removed completely.

The grade-schema for now is more localized: remove ID_RECALC_ALL
which seems to be misused and is causing issues like the ones which
are described and discussed in T81340.

On user level there should be no measurable changes. In fact, no
functional changes at all are expected to happen.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D9220
March 29, 2021, 09:04 (GMT)
Clang Tidy: disable WarningsAsErrors

This makes regular development more pleasant, because one does not have
to fix unrelated clang tidy mistakes when one is in the middle of something.
Before this change, I would usually turn clang-tidy off entirely, but then
forget to turn it on again.

This change has been agreed on by Sergey as well.
March 29, 2021, 09:00 (GMT)
Fix T78650: Lattice evaluation writes to shared data

Fix the data management bug where evaluation of lattice objects would
write back to the CoW copy of the Lattice ID, even when that copy was
shared between objects.

Each lattice object evaluation now stores its own evaluated data copy
via `BKE_object_eval_assign_data()`.

Reviewed By: sergey

Maniphest Tasks: T78650

Differential Revision: https://developer.blender.org/D10790
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021