Blender Git Loki

Git Commits -> Revision cae3b58

Revision cae3b58 by Julian Eisel (master)
November 24, 2021, 16:59 (GMT)
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.

Commit Details:

Full Hash: cae3b581b05e6c1001b82773229246d48899e3d6
Parent Commit: 01ab36e
Lines Changed: +4, -0

1 Modified Path:

/source/blender/editors/space_file/asset_catalog_tree_view.cc (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021