[Bf-blender-cvs] [7d5d567dba0] master: Cleanup: Fix typo in function name.

Bastien Montagne noreply at git.blender.org
Tue Oct 13 12:27:57 CEST 2020


Commit: 7d5d567dba0c787f3446c5aaa1f3ffd4552a01f7
Author: Bastien Montagne
Date:   Tue Oct 13 12:17:50 2020 +0200
Branches: master
https://developer.blender.org/rB7d5d567dba0c787f3446c5aaa1f3ffd4552a01f7

Cleanup: Fix typo in function name.

===================================================================

M	source/blender/editors/object/object_relations.c

===================================================================

diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 80b521b2af3..6f9a2ee9067 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -2297,7 +2297,7 @@ void OBJECT_OT_make_local(wmOperatorType *ot)
 /** \name Make Library Override Operator
  * \{ */
 
-static bool make_override_library_ovject_overridable_check(Main *bmain, Object *object)
+static bool make_override_library_object_overridable_check(Main *bmain, Object *object)
 {
   /* An object is actually overrideable only if it is in at least one local collections.
    * Unfortunately 'direct link' flag is not enough here. */
@@ -2323,7 +2323,7 @@ static int make_override_library_invoke(bContext *C, wmOperator *op, const wmEve
 
   if ((!ID_IS_LINKED(obact) && obact->instance_collection != NULL &&
        ID_IS_OVERRIDABLE_LIBRARY(obact->instance_collection)) ||
-      make_override_library_ovject_overridable_check(bmain, obact)) {
+      make_override_library_object_overridable_check(bmain, obact)) {
     uiPopupMenu *pup = UI_popup_menu_begin(C, IFACE_("OK?"), ICON_QUESTION);
     uiLayout *layout = UI_popup_menu_layout(pup);
 
@@ -2374,7 +2374,7 @@ static int make_override_library_exec(bContext *C, wmOperator *op)
     id_root = &obact->instance_collection->id;
     is_override_instancing_object = true;
   }
-  else if (!make_override_library_ovject_overridable_check(bmain, obact)) {
+  else if (!make_override_library_object_overridable_check(bmain, obact)) {
     const int i = RNA_property_enum_get(op->ptr, op->type->prop);
     const uint collection_session_uuid = *((uint *)&i);
     if (collection_session_uuid == MAIN_ID_SESSION_UUID_UNSET) {



More information about the Bf-blender-cvs mailing list