Blender Git Commits

Blender Git commits from all branches.

Page: 249 / 2888

July 13, 2021, 08:50 (GMT)
Merge remote-tracking branch 'origin/master' into lineart-shadow
July 13, 2021, 08:45 (GMT)
Edit Mesh: tag the object data for updating instead of the object

When editing vertices with number buttons, tag the mesh, not the object.

This prevents the evaluated mesh being re-created for the object
and is correct as the mesh is being edited not the object.

Note that all tags for updating object geometry should be checked
to see if this change should be applied there too.

From a simple test on a high-poly mesh this gives around 1.3x
overall speedup.
July 13, 2021, 08:45 (GMT)
Cleanup: correct spelling in comments, remove profanity
July 13, 2021, 08:45 (GMT)
LineArt: Able to run shadow.
July 13, 2021, 08:45 (GMT)
LineArt: Fix modifier apply.

After cache implementation line art apply will not show strokes properly, now fixed.

# Conflicts:
# source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
July 13, 2021, 08:44 (GMT)
Fixed Refresh cache and strip slide error
July 13, 2021, 08:41 (GMT)
Fix T89435: Reordering FCurves can cause crash or corruption

Correctly reset `prev` and `next` pointers of action group FCurves when
separating them into distinct `ListBase`s per `bActionGroup`.

These `NULL` pointers are necessary to temporarily demarcate the start &
end of the `bActionGroup::channels` list. Having them still point to
other FCurves caused ordering issues when moving curves towards the
start/end of a group.

This commit corrects the above issue and adds versioning code to rectify
any ordering issues that may have been caused. For this purpose the
`BKE_action_groups_reconstruct()` function is rewritten to avoid relying
on the `bAction::curves` list order or `prev` link integrity.

Differential Revision: https://developer.blender.org/D11811
July 13, 2021, 08:41 (GMT)
Walk Navigation: Z axis correction

Fly navigation has always had this option. They is particularly useful
when users use "Trackball" as their orbit method.

For walk navigation this works as a one off option. Not as a toggle like
for fly navigation.

Differential Revision: https://developer.blender.org/D11863
July 13, 2021, 08:41 (GMT)
Fix: crash when using empty attribute search
July 13, 2021, 08:41 (GMT)
Fix a compiler warning on Windows for Exact Boolean.

For some reason, the Windows compiler didn't like the
static function being used in the parallel_reduece.
July 13, 2021, 08:41 (GMT)
Geometry Nodes: fix direction mode in curve primitive line node

Differential Revision: https://developer.blender.org/D11872
July 13, 2021, 08:41 (GMT)
Fix channel packed images display in the Image/Node editor

Channel packed images should not have their RGB affected by alpha.
rendering in Cycles and Eevee was fine already, but displaying these was
not right in the Image and Node editors.

Not 100% sure what to do for the "Color and Alpha" mode, but I guess
this should stay like it was before (applying the alpha).

"Color", "R", "G", and "B" modes were changed to not have color be
affected by alpha though.

ref. T89034

Maniphest Tasks: T89034

Differential Revision: https://developer.blender.org/D11871
July 13, 2021, 08:41 (GMT)
make.bat: Update detection order of MSVC

VS2019 is the preferred version to use these
days, look for it before looking for 2017
and 2022.
July 13, 2021, 08:41 (GMT)
UI: Clip: Fix checkbox wrongly greying out entire column

The Pattern and Search display options in the Clip Editor display settings
are independent and should not be grayed out since those options
remain relevant even with path display turned off.

Alternative solution were propoesed in D11630 and D11715
but each of those patches had downsides.
This solution is the simplest and does not break muscle memory.
July 13, 2021, 08:41 (GMT)
LineArt: Continue shadowing
July 13, 2021, 08:41 (GMT)
Cleanup: rename BKE_animdata_{add=>ensure}_id

Use the term `ensure` as existing data is used when present.
July 13, 2021, 08:41 (GMT)
BLI_array: add BLI_array_deduplicate_ordered utility & tests
July 13, 2021, 08:41 (GMT)
Cleanup: use 'uint' for BLI_array
July 13, 2021, 08:41 (GMT)
Make Single User: support object data animation

In addition to _object_ animation, now _object data_ (mesh, curve, ...)
animation can now be made single user as well.

This came up in T89369 and while it is possible to do this via the
Outliner [where all actions have to be selected individually], this
seems to be more convenient to be done from the 3DView.

note: usercount of the action is checked now, if it single-user already,
no copy takes place (same thing could/should be done for
single_object_action_users as well).

note2: obdata is made single user as well (otherwise duplicated actions
will be assigned to the same shared obdata - which does not result in
unique animadata which is what we are after here)

ref. T89369

Maniphest Tasks: T89369

Differential Revision: https://developer.blender.org/D11683
July 13, 2021, 08:41 (GMT)
Nodes: Moved group interface panel code to python.

The node group interface panels were still implemented in C.
Now they ported over to python for easier maintenance.

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