35 CLOG_DEBUG(&
LOG,
"ID '%s' not renamed, already using the requested name",
id.name + 2);
39 "ID '%s' not renamed, requested new name '%s' would collide with an existing one",
44 CLOG_DEBUG(&
LOG,
"ID '%s' renamed without any collision",
id.name + 2);
49 "ID '%s' renamed with adjustment from requested name '%s', to avoid name "
50 "collision with another ID",
54 "Data-block renamed to '%s', try again to force renaming it to '%s'",
62 "ID '%s' forcefully renamed, another ID had to also be renamed to avoid name collision",
65 "Name in use. The other data-block was renamed to '%s'",
66 result.other_id->name + 2);
#define CLOG_DEBUG(clg_ref,...)
ID and Library types, which are fundamental for SDNA.
#define ID_IS_EDITABLE(_id)
constexpr const char * c_str() const
void WM_main_add_notifier(uint type, void *reference)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void WM_global_reportf(eReportType type, const char *format,...)
bool ED_id_rename(Main &bmain, ID &id, StringRefNull name)
IDNewNameResult BKE_id_rename(Main &bmain, ID &id, StringRefNull name, const IDNewNameMode mode=IDNewNameMode::RenameExistingNever)
@ RENAMED_COLLISION_FORCED
@ RENAMED_COLLISION_ADJUSTED