[Bf-blender-cvs] [0b75c41afe9] modifier-panels-ui: Cleanup: Remove print statements and comment

Hans Goudey noreply at git.blender.org
Thu Apr 2 19:59:34 CEST 2020


Commit: 0b75c41afe9eb71436e98b1c4395affe0bdd4f4e
Author: Hans Goudey
Date:   Thu Apr 2 12:57:28 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rB0b75c41afe9eb71436e98b1c4395affe0bdd4f4e

Cleanup: Remove print statements and comment

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

M	source/blender/editors/screen/area.c
M	source/blender/modifiers/intern/MOD_ui_common.c

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

diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index eff5beea0fc..03eaa0fe11a 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -26,8 +26,8 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "DNA_userdef_types.h"
 #include "DNA_modifier_types.h"
+#include "DNA_userdef_types.h"
 
 #include "BLI_blenlib.h"
 #include "BLI_linklist_stack.h"
@@ -2593,18 +2593,15 @@ void ED_region_panels_layout_ex(const bContext *C,
     ed_panel_draw(C, sa, region, &region->panels, pt, panel, w, em, vertical);
   }
 
-  printf("ED_REGION_PANELS_LAYOUT_EX\n");
   if (has_always_recreate_panel) {
-    printf("  Drawing Recreate Panels:");
+    // printf("  Drawing Recreate Panels:");
     for (Panel *panel = region->panels.first; panel; panel = panel->next) {
       if (panel->type != NULL) { /* Some panels don't have a type.. */
         if (panel->type->flag & PANELTYPE_RECREATE) {
-          printf("  %s,", panel->type->idname);
           ed_panel_draw(C, sa, region, &region->panels, panel->type, panel, w, em, vertical);
         }
       }
     }
-    printf("\n");
   }
 
   /* align panels and return size */
diff --git a/source/blender/modifiers/intern/MOD_ui_common.c b/source/blender/modifiers/intern/MOD_ui_common.c
index e821bb9303a..48401f79638 100644
--- a/source/blender/modifiers/intern/MOD_ui_common.c
+++ b/source/blender/modifiers/intern/MOD_ui_common.c
@@ -124,8 +124,6 @@ static void modifier_panel_header(const bContext *C, Panel *panel)
 
   /* Modifier Name. */
   uiItemR(layout, &ptr, "name", 0, "", ICON_NONE);
-
-  /* Mode enabling buttons. */
 }
 
 static void modifier_panel_header_modes(const bContext *C, Panel *panel)



More information about the Bf-blender-cvs mailing list