|
Blender V5.0
|
#include <BKE_lib_id.hh>
Public Types | |
| enum class | Action { UNCHANGED = 0 , UNCHANGED_COLLISION = 1 , RENAMED_NO_COLLISION = 2 , RENAMED_COLLISION_ADJUSTED = 3 , RENAMED_COLLISION_FORCED = 4 } |
Public Attributes | |
| enum IDNewNameResult::Action | action = Action::UNCHANGED |
| ID * | other_id = nullptr |
Information about how an ID rename went on.
Definition at line 369 of file BKE_lib_id.hh.
|
strong |
How the renaming went on.
| Enumerator | |
|---|---|
| UNCHANGED | ID was not renamed, because requested new name was already the ID's name. |
| UNCHANGED_COLLISION | ID was not renamed, because requested new name would collide with another existing ID's name, and the first available unique name is already current ID's name. |
| RENAMED_NO_COLLISION | Successfully renamed, without any collision with another ID's name. |
| RENAMED_COLLISION_ADJUSTED | Successfully renamed, requested new name was adjusted to avoid collision with another ID. |
| RENAMED_COLLISION_FORCED | Successfully renamed, requested new name was enforced onto given ID, and another ID had to be renamed to avoid name collision. |
Definition at line 371 of file BKE_lib_id.hh.
| enum IDNewNameResult::Action IDNewNameResult::action = Action::UNCHANGED |
The colliding ID, if any.
Definition at line 398 of file BKE_lib_id.hh.