Cleanup: function name not following its module conventions.
This commit is contained in:
parent
6068f49c33
commit
c8a62e4f50
|
@ -63,10 +63,10 @@ struct ID *BKE_lib_override_library_create_from_id(struct Main *bmain,
|
||||||
struct ID *reference_id,
|
struct ID *reference_id,
|
||||||
const bool do_tagged_remap);
|
const bool do_tagged_remap);
|
||||||
bool BKE_lib_override_library_create_from_tag(struct Main *bmain);
|
bool BKE_lib_override_library_create_from_tag(struct Main *bmain);
|
||||||
void BKE_lib_override_dependencies_tag(struct Main *bmain,
|
void BKE_lib_override_library_dependencies_tag(struct Main *bmain,
|
||||||
struct ID *id_root,
|
struct ID *id_root,
|
||||||
const uint tag,
|
const uint tag,
|
||||||
const bool do_create_main_relashionships);
|
const bool do_create_main_relashionships);
|
||||||
|
|
||||||
struct IDOverrideLibraryProperty *BKE_lib_override_library_property_find(
|
struct IDOverrideLibraryProperty *BKE_lib_override_library_property_find(
|
||||||
struct IDOverrideLibrary *override, const char *rna_path);
|
struct IDOverrideLibrary *override, const char *rna_path);
|
||||||
|
|
|
@ -386,10 +386,10 @@ static bool lib_override_hierarchy_recursive_tag(Main *bmain, ID *id)
|
||||||
* \param do_create_main_relashionships Whether main relations needs to be created or already exist
|
* \param do_create_main_relashionships Whether main relations needs to be created or already exist
|
||||||
* (in any case, they will be freed by this function).
|
* (in any case, they will be freed by this function).
|
||||||
*/
|
*/
|
||||||
void BKE_lib_override_dependencies_tag(struct Main *bmain,
|
void BKE_lib_override_library_dependencies_tag(struct Main *bmain,
|
||||||
struct ID *id_root,
|
struct ID *id_root,
|
||||||
const uint tag,
|
const uint tag,
|
||||||
const bool do_create_main_relashionships)
|
const bool do_create_main_relashionships)
|
||||||
{
|
{
|
||||||
id_root->tag |= tag;
|
id_root->tag |= tag;
|
||||||
|
|
||||||
|
|
|
@ -2378,7 +2378,7 @@ static int make_override_library_exec(bContext *C, wmOperator *op)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Note that this call will also free the main relations data we created above. */
|
/* Note that this call will also free the main relations data we created above. */
|
||||||
BKE_lib_override_dependencies_tag(bmain, id_root, LIB_TAG_DOIT, false);
|
BKE_lib_override_library_dependencies_tag(bmain, id_root, LIB_TAG_DOIT, false);
|
||||||
|
|
||||||
ID *id;
|
ID *id;
|
||||||
FOREACH_MAIN_ID_BEGIN (bmain, id) {
|
FOREACH_MAIN_ID_BEGIN (bmain, id) {
|
||||||
|
|
|
@ -789,7 +789,7 @@ static void id_override_library_cb(bContext *C,
|
||||||
te->store_elem->id->tag |= LIB_TAG_DOIT;
|
te->store_elem->id->tag |= LIB_TAG_DOIT;
|
||||||
printf("%s: Tagging parent id %s\n", __func__, te->store_elem->id->name);
|
printf("%s: Tagging parent id %s\n", __func__, te->store_elem->id->name);
|
||||||
}
|
}
|
||||||
BKE_lib_override_dependencies_tag(bmain, id_root, LIB_TAG_DOIT, true);
|
BKE_lib_override_library_dependencies_tag(bmain, id_root, LIB_TAG_DOIT, true);
|
||||||
BKE_lib_override_library_create_from_tag(bmain);
|
BKE_lib_override_library_create_from_tag(bmain);
|
||||||
}
|
}
|
||||||
else if (ID_IS_OVERRIDABLE_LIBRARY(id_root)) {
|
else if (ID_IS_OVERRIDABLE_LIBRARY(id_root)) {
|
||||||
|
|
Loading…
Reference in New Issue