Blender Git Commits

Blender Git "master" branch commits.

Page: 37 / 5574

November 24, 2021, 07:32 (GMT)
AssetBrowser: Disable asset indexing.

Asset Indexing is disabled for now as it requires {D12990} to support
object snapping.
November 24, 2021, 07:21 (GMT)
T91406: Asset Library Indexing

Asset library indexing would store indexes of asset files to speed up
asset library browsing.

* Indexes are read when they are up to date
** Index should exist
** Index last modify data should be later than the file it indexes
** Index version should match
* The index of a file containing no assets can be load without opening
the index file. The size of the file should be below a 32 bytes.
* Indexes are stored on a persistent cache folder.
* Unused index files are automatically removed.

The structure of the index files contains all data needed for browsing assets:
```
{
"version": <file version number>,
"entries": [{
"name": "<asset name>",
"catalog_id": "<catalog_id>",
"catalog_name": "<catalog_name>",
"description": "<description>",
"author": "<author>",
"tags": ["<tag>"]
}]
}
```

Reviewed By: sybren, Severin

Maniphest Tasks: T91406

Differential Revision: https://developer.blender.org/D12693
November 24, 2021, 07:02 (GMT)
Animation: Add test cases for `ED_keyframes_keylist`.

This patch adds test cases to detect edge cases when finding
keylist columns.

The patch originated during development of D12052 to make sure
the new implementation matches the old implementation. It would
be good to add these test cases to master so this part is covered
in a next change might influence the expected edges.

The patch covers `ED_keylist_find_next`, `ED_keylist_find_prev`
and `ED_keylist_find_exact` methods.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D12302
November 24, 2021, 01:17 (GMT)
Merge branch 'blender-v3.0-release'
November 24, 2021, 01:10 (GMT)
Add tablet data to Wintab fallback cursor movement.
November 23, 2021, 21:38 (GMT)
Extract keyframe segment calculation

extracts the search for keyframe segments (consecutive selection of keys)
It will be reused by future graph editor operators

Reviewed by: Sybren A. St�vel
Differential Revision: https://developer.blender.org/D9360
Ref: D9360
November 23, 2021, 21:15 (GMT)
Cleanup: unused variable
November 23, 2021, 21:11 (GMT)
Fix (unreported): Local preview icons not loading

Bug introduced in {rB9d7422b817d1}.

The solution is not an init thread for preview tasks that won't complete.
November 23, 2021, 18:45 (GMT)
Clang Tidy: ignore some passes that changed or were added in version 13

I get hundreds of clang-tidy errors without ignoring those passes right now.
To not forget about the passes, I added them to T78535.
November 23, 2021, 18:38 (GMT)
Cleanup: clang tidy

The parameter name was inconsistent with the declaration.
November 23, 2021, 18:04 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 18:03 (GMT)
Fix (unreported): unlinked group input is not logged in geometry nodes

Differential Revision: https://developer.blender.org/D13340
Revision ea93e5d by Julian Eisel
November 23, 2021, 17:57 (GMT)
Asset: Merge asset library/list refresh operators

In rBdcdbaf89bd11, I introduced a new operator
(`file.asset_library_refresh()`) to handle Asset Browser refreshing more
separate from File Browser refreshing. However, there already was
`asset.asset_list_refresh()`, which at this point only works for asset
view templates, but was intended to cover the Asset Browser case in
future too. This would happen once the Asset Browser uses the asset list
design of the asset view template.

So rather than having two operators for refreshing asset library data,
have one that just handles both cases, until they converge into one.
This avoids changes to the Python API in future (deprecating/changing
operators).

Differential Revision: https://developer.blender.org/D13239
November 23, 2021, 17:51 (GMT)
Clean-up: Fix BLI_rect.h collision with windows.h

windows.h `#defines rct1` as a number which is
problematic if we include `BLI_rect.h` after
`windows.h` .

by renaming `rct1/2` to `rct_a/b` we side step
the collision and straighten up the naming with
the functions directly above it.
Revision 62b50c6 by Hans Goudey
November 23, 2021, 17:49 (GMT)
Cleanup: Else after return, other simplifications

`std::stringstream` already returns a `std::string`, and there is no
particular reason to use short here instead of int.
Revision 9e5aae4 by Julian Eisel
November 23, 2021, 17:40 (GMT)
Asset: Merge asset library/list refresh operators

In rBdcdbaf89bd11, I introduced a new operator
(`file.asset_library_refresh()`) to handle Asset Browser refreshing more
separate from File Browser refreshing. However, there already was
`asset.asset_list_refresh()`, which at this point only works for asset
view templates, but was intended to cover the Asset Browser case in
future too. This would happen once the Asset Browser uses the asset list
design of the asset view template.

So rather than having two operators for refreshing asset library data,
have one that just handles both cases, until they converge into one.
This avoids changes to the Python API in future (deprecating/changing
operators).

Differential Revision: https://developer.blender.org/D13239
Revision c09e8a3 by Julian Eisel
November 23, 2021, 17:35 (GMT)
Merge branch 'blender-v3.0-release'
Revision 792badc by Julian Eisel
November 23, 2021, 17:34 (GMT)
Fix broken handling of constraints reordering with library overrides

Alternative to D13291 (description partially copied from there).

New drag & drop reordering code would call constraints reordering
operator with the generic context, and not the one from the panel's
layout. missing the "constraint" member which is mandatory for poll
function to properly deal with override vs. local constraints.

For this to work in a decent way, there needs to be some panel-wide
context that we can restore when executing callbacks outside of the
normal draw context. So similar to uiLayoutSetContextPointer() to set
context on a layout level, this introduces
UI_panel_context_pointer_set() for panel level context (this calls the
former for the current panel root layout as well).

Differential Revision: https://developer.blender.org/D13308
November 23, 2021, 17:04 (GMT)
Merge branch 'blender-v3.0-release'
November 23, 2021, 17:03 (GMT)
Fix: The bounding box gizmo breaks if transform pivot is set to cursor

The bounding box transform code assumed that the pivot would always be
the sequence object transform center.

Rework the code so that this assumption is true even if the general
transform pivot is set to be the 2D cursor.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021