[Bf-blender-cvs] [aa369d9e4f9] modifier-panels-ui: Cleanup: Fix mispelled "constraints"

Hans Goudey noreply at git.blender.org
Sun Apr 19 07:45:22 CEST 2020


Commit: aa369d9e4f95aae8c85820a71bd27e21bde0ae56
Author: Hans Goudey
Date:   Sun Apr 19 00:41:31 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rBaa369d9e4f95aae8c85820a71bd27e21bde0ae56

Cleanup: Fix mispelled "constraints"

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

M	source/blender/editors/interface/interface_templates.c

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

diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 9cb8d0bb9b3..771fc21f97f 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -1930,7 +1930,7 @@ void uiTemplateConstraints(uiLayout *UNUSED(layout), bContext *C)
   /* Check if the current constraint list corresponds to list panels, or if the panels were
    * reordered. */
   bool constraints_changed = false;
-  int contraints_len = BLI_listbase_count(&ob->constraints);
+  int constraints_len = BLI_listbase_count(&ob->constraints);
   int i = 0;
   bConstraint *con = ob->constraints.first;
   Panel *panel = region->panels.first;
@@ -1961,7 +1961,7 @@ void uiTemplateConstraints(uiLayout *UNUSED(layout), bContext *C)
   }
 
   /* If we didn't make it to the last modifier, the panel list isn't complete. */
-  if (i != contraints_len) {
+  if (i != constraints_len) {
     constraints_changed = true;
   }



More information about the Bf-blender-cvs mailing list