Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

11 minutes ago
Modifiers: add StructRNA pointer field to ModifierTypeInfo

This reduces the number of places that have to be modified
when a new modifier is added.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D9000
15 minutes ago
Modifiers: add icon field to ModifierTypeInfo

With this change `outliner_draw.c` does not have to be
edited anymore when a new modifier is added.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D8998
1 hour 8 min ago
LibOverride: Tweak messages when some sub-item is not found when applying overrides.
1 hour 8 min ago
LibOverride: Fix some cleanup of unused override operations.

Handling of pointer replacements in collection items lead to validating
all operations for a given property, when some might actually be no more
valid and would need to be cleaned up.

Related to T81059, found while investigating it.
1 hour 31 min ago
Fix T81126: Assert going to Texture Paint workspace without a UVMap

Assert happened as it could not create uv batches without an UVMap.
Solution is to only request those batches when the UVMaps are available.
1 hour 53 min ago
LibOverride: Silence some more asserts.

Print out messages into console instead when se cannot find expected
data (this is actually normal when source library gets edited).

Note that there seems to be some issue with the 'auto-cleanup' mechanism
removing no more valid override rules on file save, will check on that
next.

Related to T81059, found while investigating it.
2 hours 36 min ago
Cleanup: SpaceGraph ED code: use boolean litterals when needed.
2 hours 45 min ago
Fix T81157: Eevee MotionBlur steps setting make ao pass darker

Issue introduced by 68651534c263 due to an incorrect merge/rebase
It was resetting the AO buffer every time the time step happened.
3 hours 11 min ago
Fix tool-system index error with mode-specific tools added to groups

It was possible to have invalid indices when a script registered
a tool into an existing group of tools.

Address issue raised by D7436
6 hours 13 min ago
Keymap: orbit/pan preference now applies to the track-pad as well

Ref D7279
7 hours 46 min ago
API Docs: Fix xref urls

Fully revert D7913 "Fix T77276: Generating Python API docs raises many warnings"

{D7913} broke xrefs/links to other types and permalinks in the docs. This makes the python api docs for 2.90 and 2.91 completely unusable.
It got partially reverted in commit e893430a6306ded059270e7df9d78180cdc0d9e3. That didn't fix those two issues though, so it should be fully reverted.

As you can see here, i'm not able to click `bpy_struct.id_data`, because no <a> tag got generated in the html.
{F8889934}

Here you can see a working, but wrong permalink, generated by clicking the little chain. (It should be `bpy.types.MeshVertices`, not `bpy.types.MeshVertices.MeshVertices`)
{F8889938}

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D8913
9 hours 47 min ago
Fix T81155: Keyframe.select_control_point True when unselected

Check the selection flag since BEZT_FLAG_TEMP_TAG might be set.
10 hours 9 min ago
Object: Move Switch Active Objects to experimental

The operator has some problems with Undo, so better put it in
experimental for now.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D9007
Revision 0106e17 by Hans Goudey
15 hours 17 min ago
Cleanup: Move function to proper section

The main panel drawing funciton should be in the "Drawing" section.
Revision 80c57fe by Hans Goudey
15 hours 21 min ago
Cleanup: Remove unused function
15 hours 52 min ago
Fix (unreported) memory leak in Extrude mode of the Solidify modifier.
15 hours 52 min ago
Fix LibOverride Resync generating orphaned data-blocks.

Part of the code handling deletion of old, not needed anymore local
override IDs, was not working properly, effectively only deleting one
ID ever.

New code should also be a bit faster, though this should not be really
visible from user perspective.

Related to T81059, found while investigating it.
15 hours 52 min ago
Fix part of asserts in LibOverride when resynching.

We can only re-apply overrides fron the old local overrides to the newly
generated ones after all IDs have been properly remapped and renamed.

Otherwise override operations based on ID names may fail.

Related to T81059, found while investigating it.
16 hours 42 min ago
Weld Modifier: Use KD Tree in detecting the geometry to be welded

This commit replaces the BVH Tree currently used by the Weld Modifier
with the KD Tree used by `Merge > By Distance`.

This changes the result of the Weld Modifier to more closely match
`Merge > By Distance`.

There is also a big performance advantage.

Here is an overview (models in D8995):

| 2.90 (Duplicate Limit = 0) | 2.90 (Duplicate Limit = 1) | master (BVH) (Duplicate Limit = 1) | patch (KD) |
| 1.69s| 0.17s | 0.12s | 0.029s |

Differential Revision: https://developer.blender.org/D8995
18 hours 25 min ago
Fix running tests when building without portable install.
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020