Minor cleanup/precision to some comments regarding ID management.

This commit is contained in:
Bastien Montagne
2023-11-15 11:33:36 +01:00
parent 7010a2ee0e
commit b416c3da3c
2 changed files with 3 additions and 2 deletions

View File

@@ -518,7 +518,8 @@ void BKE_lib_id_expand_local(struct Main *bmain, struct ID *id, int flags);
/**
* Ensures given ID has a unique name in given listbase.
*
* Only for local IDs (linked ones already have a unique ID in their library).
* Uniqueness is only ensured within the ID's library (nullptr for local ones), libraries act as
* some kind of namespace for IDs.
*
* \param name: The new name of the given ID, if NULL the current given ID name is used instead.
* \param do_linked_data: if true, also ensure a unique name in case the given \a id is linked

View File

@@ -933,7 +933,7 @@ enum {
LIB_TAG_TEMP_MAIN = 1 << 20,
/** General ID management info, for freeing or copying behavior e.g. */
/**
* ID is not listed/stored in Main database.
* ID is not listed/stored in any #Main database.
*
* RESET_NEVER
*/