Fix: Bone collection renaming when empty string #111723

Merged
Nathan Vegdahl merged 1 commits from PratikPB2123/blender:bone-collection-rename into main 2023-08-31 15:12:34 +02:00

1 Commits

Author SHA1 Message Date
Pratik Borhade bde0860581 Fix: Bone collection renaming when no empty string
Wrong default value was passed to `BLI_uniquename`.
When string is empty while renaming, this default value is used.

How to reproduce:
- Add bone collection
- double click to rename
- Clear all characters, hit enter (you'll either notice bone collection
  without name or just a suffix)
2023-08-31 11:00:16 +05:30