diff options
author | Julian Eisel <julian@blender.org> | 2021-11-24 19:59:14 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-11-24 19:59:14 +0300 |
commit | cae3b581b05e6c1001b82773229246d48899e3d6 (patch) | |
tree | 605ec24f9a6de1fcb814e53676fa64ad4698998b /source/blender/editors/include | |
parent | 01ab36ebc1c43764b8bfb4c41f4c837a3b8757cb (diff) |
Asset Browser: Fix catalog being renamed when dropping into parent
When dropping catalogs it is ensured that the name of the moved catalog
is unique within the new parent catalog. When dropping a catalog into
the parent, the catalog would not actually move to a different location,
but it would still be renamed. The unique name logic simply isn't smart
enough to ignore the catalog that is about to be moved.
Address this by disallowing dragging a catalog into its own parent. It's
already there.
Diffstat (limited to 'source/blender/editors/include')
0 files changed, 0 insertions, 0 deletions