|
Blender V5.0
|
#include "BLI_string_ref.hh"Go to the source code of this file.
Functions | |
| bool | ED_id_rename (Main &bmain, ID &id, blender::StringRefNull name) |
| bool ED_id_rename | ( | Main & | bmain, |
| ID & | id, | ||
| blender::StringRefNull | name ) |
Handle complex user-facing ID renaming behavior, including user feedback (reporting).
Definition at line 24 of file ed_id_management.cc.
References BKE_id_rename(), BLI_assert, CLOG_DEBUG, ID_IS_EDITABLE, LOG, NA_RENAME, name, NC_ID, IDNewNameResult::RENAMED_COLLISION_ADJUSTED, IDNewNameResult::RENAMED_COLLISION_FORCED, IDNewNameResult::RENAMED_NO_COLLISION, RenameExistingSameRoot, result, RPT_INFO, IDNewNameResult::UNCHANGED, IDNewNameResult::UNCHANGED_COLLISION, WM_global_reportf(), and WM_main_add_notifier().
Referenced by blender::ed::outliner::namebutton_fn(), uiLayout::prop(), and template_ID().