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:
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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue