33 CLOG_DEBUG(&
LOG,
"ID '%s' not renamed, already using the requested name",
id.
name + 2);
37 "ID '%s' not renamed, requested new name '%s' would collide with an existing one",
47 "ID '%s' renamed with adjustment from requested name '%s', to avoid name "
48 "collision with another ID",
52 "Data-block renamed to '%s', try again to force renaming it to '%s'",
60 "ID '%s' forcefully renamed, another ID had to also be renamed to avoid name collision",
63 "Name in use. The other data-block was renamed to ā%sā",
64 result.other_id->name + 2);
IDNewNameResult BKE_id_rename(Main &bmain, ID &id, blender::StringRefNull name, const IDNewNameMode mode=IDNewNameMode::RenameExistingNever)
#define CLOG_DEBUG(clg_ref,...)
ID and Library types, which are fundamental for SDNA.
#define ID_IS_EDITABLE(_id)
bool ED_id_rename(Main &bmain, ID &id, blender::StringRefNull name)
@ RENAMED_COLLISION_FORCED
@ RENAMED_COLLISION_ADJUSTED
void WM_main_add_notifier(uint type, void *reference)
void WM_global_reportf(eReportType type, const char *format,...)