Blender Git Commits

Blender Git "master" branch commits.

Page: 331 / 5574

March 26, 2021, 01:28 (GMT)
Cleanup: clang-format
March 26, 2021, 01:24 (GMT)
CMake: add headers to source lists, sort file-lists
March 26, 2021, 00:59 (GMT)
Fix: Geometry Nodes: Incorrect offsets for plane primitive

The recent commit that changed the size (rB83df3545246aada) left out
a few changed. This patch also adjusts the positioning and UV scale of
the generated plane accordingly.

Differential Revision: https://developer.blender.org/D10822
March 25, 2021, 21:32 (GMT)
LibOverride: Fix mistake in recent commit.

We do not want to re-generate auto-overrides until everything that
needed to be resynced has been resynced. Otherwise it's a waste of time
and guaranteed loss of some override properties.

Mistake in rB9947f2095610 earlier today.
March 25, 2021, 21:32 (GMT)
LibOverride: fix bad ID relationships handling during resync.

Purely local IDs would not always be used as proper barriers when
generating override hierarchy data, leading to imporperly trying to
resync override IDs from other hierarchies, which would break/cause
issues in case they would be duplicate overrides of the same linked
data.

Reported by Pablo from Sprite team, thanks.
Revision 64ca286 by Hans Goudey
March 25, 2021, 18:54 (GMT)
Cleanup: Pass instance group result vector as an argument

This will allow retrieving the instance groups from multiple geometry
sets and avoiding needing vectors of vectors to store the results.
This is useful when retrieving instances from a multi-input socket
of geometries.
March 25, 2021, 16:05 (GMT)
Fix T86867: Node Editor: Avoid deselect-all triggering on every box-
select

In 'Set/Replace' mode this is not a problem, but 'Extend' or 'Subtract'
modes were useless with the current behavior.
The problem here is that 'node.select' fires before 'node.select_box'
(which is fine) but deselects immediately on click.

This issue has come up before in other editors, see
{T70457}
{rB395dfff103e1}
{rBa8ea1ea1b7d5}

Now delay deselection in empty space to mouse release (same as done in
before mentioned report).

also related:
ref T57918
ref T63994

Maniphest Task: T86867

Differential Revision: https://developer.blender.org/D10801
March 25, 2021, 15:57 (GMT)
LibOverride: Silence noisy warnings in console.

That one skiped the move to CLOG a few weeks ago, could spam a lot in
the console in some cases.
March 25, 2021, 15:35 (GMT)
Fix T86852: Allow Font Style Changes to Affect Spreadsheet Text Size

Replacing a hard-coded font size with font style widget size so it can be set by user.

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

Reviewed by Dalai Felinto
March 25, 2021, 15:06 (GMT)
GPencil: Fix compiler warning when HARU and PUGIXML are disabled

The function only must be included if Haru or Pugixml is enabled.
March 25, 2021, 15:01 (GMT)
BLI: fix Set.lookup_key_or_add
March 25, 2021, 15:01 (GMT)
BLI: simplify using DefaultHash
March 25, 2021, 14:36 (GMT)
Make moving the cursor in UV Editor a 2d edit transform

This flags moving the cursor in the Image Editor T_2D_EDIT with the
following benefits:

- dissallowing e.g. Z constraints
- improving the header display:
-- it should not use scene units
-- now respects if we are moving in pixel coords or not

part of upcoming fix for T86796
ref D10817
March 25, 2021, 14:36 (GMT)
Fix T86796: moving the cursor in the UV Editor does not take aspect into
account

UV coords are scaled by aspects (see UVsToTransData). This also applies
for the Cursor in the UV Editor which also means that for display and
when the cursor coords are flushed (new 'recalcData_cursor_image' was
added for this), these need to be converted each time.

Maniphest Tasks: T86796

Differential Revision: https://developer.blender.org/D10817
March 25, 2021, 13:39 (GMT)
Fix for T86613: Renaming in outliner doesn't trigger rename event

When subscribing to name-changes through the API,
the event doesn't trigger if the object is renamed in the outliner.
Fixed by publishing the RNA changes.

Reviewed By: lichtwerk

Ref D10732
March 25, 2021, 13:03 (GMT)
Fix T86921: Executing "Operator Cheat Sheet" Crashes Blender

This was only happening without an active object.

The "Operator Cheat Sheet" operator collects info about all operators,
and as part of that executes the callbacks to create dynamic enums. The
callback to enumerate the geometry operators (introduced in
rB370d6e50252b) attribute domains depends on a context object. If this
isn't available, we just have to return `DummyRNA_NULL_items`.

Maniphest Tasks: T86921

Differential Revision: https://developer.blender.org/D10814
Revision 0083a76 by Ankit Meel
March 25, 2021, 11:53 (GMT)
Revert "Cleanup: Fix unused-private-field warning."

This reverts commit 43c48965d7cf87dd00ccf8714d2f6d08ffa4c474.
It created a new warning on GCC: -Wattribute (ignored attribute) as
GCC doesn't warn about unused private fields.
March 25, 2021, 11:45 (GMT)
LibOverride; Fix missing re-creation of auto-generated override rules after resync.

While not useful for the override system itself, this is rather
important for user feedback.
March 25, 2021, 11:15 (GMT)
Fix T83390: Remove temporary, for-one-release deprecation hints

Revert "Point users to new location of "Show Group Colors" option",
commit rB6ed6741ee35930bf81fad9a5eb6bb17eea168725.

These deprecation hints were intended for one release only, and thus can
be removed now.
March 25, 2021, 11:04 (GMT)
Geometry Nodes: change order of domains in drop down

This has been requested in D10803.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021