[Bf-blender-cvs] [7bf7b8af398] master: Cleanup: redundant comments

Campbell Barton noreply at git.blender.org
Thu Oct 19 07:17:35 CEST 2017


Commit: 7bf7b8af398b9ad3245ac52af4a8f7f91820a8eb
Author: Campbell Barton
Date:   Thu Oct 19 16:19:07 2017 +1100
Branches: master
https://developer.blender.org/rB7bf7b8af398b9ad3245ac52af4a8f7f91820a8eb

Cleanup: redundant comments

Class names are readable, no need for explanations of each one.

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

M	release/scripts/startup/bl_ui/space_view3d.py

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index f6d72ac2853..ec2e19b38c8 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -1177,11 +1177,7 @@ class VIEW3D_MT_angle_control(Menu):
                 layout.prop(tex_slot, "use_random", text="Random")
 
 
-# ********** Add menu **********
-
 # XXX: INFO_MT_ names used to keep backwards compatibility (Add-ons etc. that hook into the menu)
-
-
 class INFO_MT_mesh_add(Menu):
     bl_idname = "INFO_MT_mesh_add"
     bl_label = "Mesh"
@@ -1840,7 +1836,6 @@ class VIEW3D_MT_object_game(Menu):
         layout.operator("object.game_property_clear")
 
 
-# ********** Brush menu **********
 class VIEW3D_MT_brush(Menu):
     bl_label = "Brush"
 
@@ -1911,7 +1906,6 @@ class VIEW3D_MT_brush_paint_modes(Menu):
         layout.prop(brush, "use_paint_image", text="Texture Paint")
 
 
-# ********** Vertex paint menu **********
 class VIEW3D_MT_paint_vertex(Menu):
     bl_label = "Paint"
 
@@ -1987,8 +1981,6 @@ class VIEW3D_MT_vertex_group(Menu):
             layout.operator("object.vertex_group_remove", text="Remove All Groups").all = True
 
 
-# ********** Weight paint menu **********
-
 class VIEW3D_MT_paint_weight(Menu):
     bl_label = "Weights"
 
@@ -2031,9 +2023,6 @@ class VIEW3D_MT_paint_weight(Menu):
         layout.operator("paint.weight_set")
 
 
-# ********** Sculpt menu **********
-
-
 class VIEW3D_MT_sculpt(Menu):
     bl_label = "Sculpt"
 
@@ -2105,9 +2094,6 @@ class VIEW3D_MT_hide_mask(Menu):
         props = layout.operator("paint.mask_lasso_gesture", text="Lasso Mask")
 
 
-# ********** Particle menu **********
-
-
 class VIEW3D_MT_particle(Menu):
     bl_label = "Particle"
 
@@ -2195,9 +2181,6 @@ class VIEW3D_MT_particle_showhide(ShowHideMenu, Menu):
     _operator_name = "particle"
 
 
-# ********** Pose Menu **********
-
-
 class VIEW3D_MT_pose(Menu):
     bl_label = "Pose"



More information about the Bf-blender-cvs mailing list