|
Blender V5.0
|
#include "CLG_log.h"#include "DNA_ID.h"#include "BKE_lib_id.hh"#include "BKE_library.hh"#include "BKE_main.hh"#include "WM_api.hh"#include "ED_id_management.hh"Go to the source code of this file.
Functions | |
| bool | ED_id_rename (Main &bmain, ID &id, blender::StringRefNull name) |
Variables | |
| static CLG_LogRef | LOG = {"lib.id_management"} |
| 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().
|
static |
We only need this locally.
Definition at line 22 of file ed_id_management.cc.