UI: Asset Shelf (Experimental Feature) #104831

Closed
Julian Eisel wants to merge 399 commits from asset-shelf into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 3 additions and 1 deletions
Showing only changes of commit f7ab83d558 - Show all commits

View File

@ -40,7 +40,9 @@ AssetShelfSettings &AssetShelfSettings::operator=(const AssetShelfSettings &othe
next = prev = nullptr;
active_catalog_path = BLI_strdup(other.active_catalog_path);
if (active_catalog_path) {
JulianEisel marked this conversation as resolved Outdated

This can be null (noted in doc-string), crashes when duplicating an empty 3D view.

This can be null (noted in doc-string), crashes when duplicating an empty 3D view.
active_catalog_path = BLI_strdup(other.active_catalog_path);
}
BLI_listbase_clear(&enabled_catalog_paths);
LISTBASE_FOREACH (LinkData *, catalog_path_item, &other.enabled_catalog_paths) {