Blender Git Loki

Blender Git "asset-system-filelist" branch commits.

June 5, 2021, 15:51 (GMT)
Merge branch 'master' into asset-system-filelist
May 26, 2021, 22:22 (GMT)
Mostly finish regular file reading & general improvements

Main thing that's missing for regular file reading is supporting symbolic
links. Most work for them is already done though.
May 23, 2021, 17:10 (GMT)
Merge branch 'master' into asset-system-filelist
May 19, 2021, 16:45 (GMT)
Merge branch 'master' into asset-system-filelist
May 11, 2021, 10:11 (GMT)
Merge remote-tracking branch 'origin/master' into asset-system-filelist
May 11, 2021, 10:11 (GMT)
Cleanup: Properly explain TODO marker
May 10, 2021, 17:02 (GMT)
Initial framework and basic reading of file-lists

Initial steps for T88184.

Adds a `filelist/` directory to `editors/`, containing C++ classes for
(recursively) reading directories and files into a file-list. The logic is
based on the File-Browser file-list, so that the actually executed logic is
basically the same (avoiding regressions or old issues re-appearing). But it
is entirely re-designed to work for both the asset system and the file browser.

For more info about the design, see T88184.

Also contains "peeking" the file list to count the files to be read. This is to
improve progress reporting later. However, it has some issues and I'm not sure
actually it's something we'll even need in the end, I see other ways to improve
things here.
May 6, 2021, 10:24 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
May 4, 2021, 14:26 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
May 3, 2021, 11:30 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
May 3, 2021, 10:21 (GMT)
UI List: Fix segfault in unit tests

Fix `NULL` pointer deference in `ui_list_find_mouse_over()`.
April 30, 2021, 10:41 (GMT)
Merge branch 'master' into asset-browser-poselib
April 29, 2021, 16:28 (GMT)
Assets: Keep assets active after renaming, ensure they are scrolled into view

See https://developer.blender.org/D11119, just committing this to the branch
for testing already.
April 29, 2021, 16:25 (GMT)
Asset: Keep assets active after renaming, make sure they are scrolled into view

I want to clean this up a bit still, but it seems to work now.

Also includes (to be split off):
* Don't allow renaming assets from the file list for now (e.g. right-click >
Rename). This doesn't work yet and I'm not sure it should even. If an asset
is a local data-block it can be renamed in the sidebar.
* Fix broken logic to scroll a preview into view.
* Partially includes D9994. These changes were needed for this to work.

Differential Revision: https://developer.blender.org/D11119
April 29, 2021, 11:57 (GMT)
Merge branch 'master' into asset-browser-poselib
April 29, 2021, 11:30 (GMT)
Fix incorrect sorting in Asset View after renaming local asset

Basically the same as 88400f0c03a9, but now for the asset view.
April 29, 2021, 11:21 (GMT)
Merge branch 'master' into asset-browser-poselib
April 28, 2021, 11:09 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
April 28, 2021, 11:07 (GMT)
Attempt to fix build error on MSVC and warnings on some other compilers

On MSVC it failed with this error:
```
sourceblenderblenkernelBKE_context.h(361,20): error C2526:
'CTX_wm_asset_handle': C linkage function cannot return C++ class 'AssetHandle'
```

On Apple Clang I would get this:
```
warning: 'CTX_wm_asset_handle' has C-linkage specified, but returns incomplete
type 'struct AssetHandle' which could be incompatible with C
[-Wreturn-type-c-linkage]
struct AssetHandle CTX_wm_asset_handle(const bContext *C, bool *r_is_valid);
^
1 warning generated.
```

Just include the asset header defining the type for now, it should later on be
solved properly with a better design for `AssetHandle`.
April 26, 2021, 19:25 (GMT)
UI: Improve walk navigation in UI List template

Add improved arrow key walk navigation in grid layout UI List templates.
Pressing up or down walks the active item to the adjacent row in that
direction, while left and right walk through the items along the columns
wrapping at the rows.

Differential Revision: https://developer.blender.org/D11063
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021