Asset Browser: Show disabled-hint when dragging external assets over catalog

There's now a message displayed in red next to the cursor explaining that only
assets from the current file can be moved between catalogs.

The previous commit prepared this.
This commit is contained in:
Julian Eisel 2021-10-26 18:50:19 +02:00
parent 11e8a2ec5f
commit 730de2e7fd
Notes: blender-bot 2023-10-13 01:54:23 +02:00
Referenced by issue #92434, Improve feedback when dragging assets into catalog isn't possible
1 changed files with 2 additions and 0 deletions

View File

@ -389,6 +389,8 @@ bool AssetCatalogDropController::has_droppable_item(const wmDrag &drag,
return true;
}
}
*r_disabled_hint = "Only assets from this current file can be moved between catalogs";
return false;
}