UI: renamed 3dview menus to be lower case, not too important now,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 15 Sep 2009 10:23:44 +0000 (10:23 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 15 Sep 2009 10:23:44 +0000 (10:23 +0000)
but once these become extensible we need consistent names.

release/ui/space_view3d.py

index 2539ded18bf9923ed6a835794c4aafca766a5d0a..33f9fbb853d6e40d5225e84fbc8096122de9fe47 100644 (file)
@@ -25,17 +25,17 @@ class VIEW3D_HT_header(bpy.types.Header):
                        
                        # Select Menu
                        if mode_string not in ('EDIT_TEXT', 'SCULPT', 'PAINT_WEIGHT', 'PAINT_VERTEX', 'PAINT_TEXTURE'):
-                               sub.itemM("VIEW3D_MT_select_%s" % mode_string)
+                               sub.itemM("VIEW3D_MT_select_%s" % mode_string.lower())
                        
                        if edit_object:
-                               sub.itemM("VIEW3D_MT_edit_%s" % edit_object.type)
+                               sub.itemM("VIEW3D_MT_edit_%s" % edit_object.type.lower())
                        elif object:
                                ob_mode_string = object.mode
                                
                                if mode_string not in ['PAINT_WEIGHT', 'PAINT_TEXTURE']:
-                                       sub.itemM("VIEW3D_MT_%s" % mode_string)
+                                       sub.itemM("VIEW3D_MT_%s" % mode_string.lower())
                        else:
-                               sub.itemM("VIEW3D_MT_OBJECT")
+                               sub.itemM("VIEW3D_MT_object")
 
                layout.template_header_3D()
 
@@ -155,7 +155,7 @@ class VIEW3D_MT_view_cameras(bpy.types.Menu):
 
 # ********** Select menus, suffix from context.mode **********
 
-class VIEW3D_MT_select_OBJECT(bpy.types.Menu):
+class VIEW3D_MT_select_object(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -174,7 +174,7 @@ class VIEW3D_MT_select_OBJECT(bpy.types.Menu):
                layout.item_enumO("object.select_by_type", "type", "", text="Select All by Type...")
                layout.itemO("object.select_grouped", text="Select Grouped...")
 
-class VIEW3D_MT_select_POSE(bpy.types.Menu):
+class VIEW3D_MT_select_pose(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -205,7 +205,7 @@ class VIEW3D_MT_select_POSE(bpy.types.Menu):
                props.extend = True
                props.direction = 'CHILD'
 
-class VIEW3D_MT_select_PARTICLE(bpy.types.Menu):
+class VIEW3D_MT_select_particle(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -224,7 +224,7 @@ class VIEW3D_MT_select_PARTICLE(bpy.types.Menu):
                layout.itemO("particle.select_more")
                layout.itemO("particle.select_less")
 
-class VIEW3D_MT_select_EDIT_MESH(bpy.types.Menu):
+class VIEW3D_MT_select_edit_mesh(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -268,7 +268,7 @@ class VIEW3D_MT_select_EDIT_MESH(bpy.types.Menu):
                layout.itemO("mesh.loop_to_region")
                layout.itemO("mesh.region_to_loop")
 
-class VIEW3D_MT_select_EDIT_CURVE(bpy.types.Menu):
+class VIEW3D_MT_select_edit_curve(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -297,7 +297,7 @@ class VIEW3D_MT_select_EDIT_CURVE(bpy.types.Menu):
                layout.itemO("curve.select_more")
                layout.itemO("curve.select_less")
 
-class VIEW3D_MT_select_EDIT_SURFACE(bpy.types.Menu):
+class VIEW3D_MT_select_edit_surface(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -323,7 +323,7 @@ class VIEW3D_MT_select_EDIT_SURFACE(bpy.types.Menu):
                layout.itemO("curve.select_more")
                layout.itemO("curve.select_less")
 
-class VIEW3D_MT_select_EDIT_METABALL(bpy.types.Menu):
+class VIEW3D_MT_select_edit_metaball(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -341,7 +341,7 @@ class VIEW3D_MT_select_EDIT_METABALL(bpy.types.Menu):
                
                layout.itemO("mball.select_random_metaelems")
 
-class VIEW3D_MT_select_EDIT_LATTICE(bpy.types.Menu):
+class VIEW3D_MT_select_edit_lattice(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -354,7 +354,7 @@ class VIEW3D_MT_select_EDIT_LATTICE(bpy.types.Menu):
                
                layout.itemO("lattice.select_all_toggle", text="Select/Deselect All")
 
-class VIEW3D_MT_select_EDIT_ARMATURE(bpy.types.Menu):
+class VIEW3D_MT_select_edit_armature(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -383,7 +383,7 @@ class VIEW3D_MT_select_EDIT_ARMATURE(bpy.types.Menu):
                props.extend = True
                props.direction = 'CHILD'
 
-class VIEW3D_MT_select_FACE(bpy.types.Menu):# XXX no matching enum
+class VIEW3D_MT_select_face(bpy.types.Menu):# XXX no matching enum
        __space_type__ = 'VIEW_3D'
        __label__ = "Select"
 
@@ -394,7 +394,7 @@ class VIEW3D_MT_select_FACE(bpy.types.Menu):# XXX no matching enum
 
 # ********** Object menu **********
 
-class VIEW3D_MT_OBJECT(bpy.types.Menu):
+class VIEW3D_MT_object(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __context__ = "objectmode"
        __label__ = "Object"
@@ -402,7 +402,7 @@ class VIEW3D_MT_OBJECT(bpy.types.Menu):
        def draw(self, context):
                layout = self.layout
 
-               layout.itemM("VIEW3D_MT_OBJECT_clear")
+               layout.itemM("VIEW3D_MT_object_clear")
                layout.itemM("VIEW3D_MT_snap")
                
                layout.itemS()
@@ -419,10 +419,10 @@ class VIEW3D_MT_OBJECT(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_OBJECT_parent")
-               layout.itemM("VIEW3D_MT_OBJECT_track")
-               layout.itemM("VIEW3D_MT_OBJECT_group")
-               layout.itemM("VIEW3D_MT_OBJECT_constraints")
+               layout.itemM("VIEW3D_MT_object_parent")
+               layout.itemM("VIEW3D_MT_object_track")
+               layout.itemM("VIEW3D_MT_object_group")
+               layout.itemM("VIEW3D_MT_object_constraints")
                
                layout.itemS()
                
@@ -430,9 +430,9 @@ class VIEW3D_MT_OBJECT(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_OBJECT_showhide")
+               layout.itemM("VIEW3D_MT_object_showhide")
                
-class VIEW3D_MT_OBJECT_clear(bpy.types.Menu):
+class VIEW3D_MT_object_clear(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Clear"
 
@@ -444,7 +444,7 @@ class VIEW3D_MT_OBJECT_clear(bpy.types.Menu):
                layout.itemO("object.scale_clear", text="Scale")
                layout.itemO("object.origin_clear", text="Origin")
                
-class VIEW3D_MT_OBJECT_parent(bpy.types.Menu):
+class VIEW3D_MT_object_parent(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Parent"
 
@@ -454,7 +454,7 @@ class VIEW3D_MT_OBJECT_parent(bpy.types.Menu):
                layout.itemO("object.parent_set", text="Set")
                layout.itemO("object.parent_clear", text="Clear")
                
-class VIEW3D_MT_OBJECT_track(bpy.types.Menu):
+class VIEW3D_MT_object_track(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Track"
 
@@ -464,7 +464,7 @@ class VIEW3D_MT_OBJECT_track(bpy.types.Menu):
                layout.itemO("object.track_set", text="Set")
                layout.itemO("object.track_clear", text="Clear")
                
-class VIEW3D_MT_OBJECT_group(bpy.types.Menu):
+class VIEW3D_MT_object_group(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Group"
 
@@ -479,7 +479,7 @@ class VIEW3D_MT_OBJECT_group(bpy.types.Menu):
                layout.itemO("group.objects_add_active")
                layout.itemO("group.objects_remove_active")
                
-class VIEW3D_MT_OBJECT_constraints(bpy.types.Menu):
+class VIEW3D_MT_object_constraints(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Constraints"
 
@@ -489,7 +489,7 @@ class VIEW3D_MT_OBJECT_constraints(bpy.types.Menu):
                layout.itemO("object.constraint_add_with_targets")
                layout.itemO("object.constraints_clear")
                
-class VIEW3D_MT_OBJECT_showhide(bpy.types.Menu):
+class VIEW3D_MT_object_showhide(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Show/Hide"
 
@@ -502,7 +502,7 @@ class VIEW3D_MT_OBJECT_showhide(bpy.types.Menu):
 
 # ********** Vertex paint menu **********      
        
-class VIEW3D_MT_PAINT_VERTEX(bpy.types.Menu):
+class VIEW3D_MT_paint_vertex(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Paint"
 
@@ -517,7 +517,7 @@ class VIEW3D_MT_PAINT_VERTEX(bpy.types.Menu):
 
 # ********** Sculpt menu **********    
        
-class VIEW3D_MT_SCULPT(bpy.types.Menu):
+class VIEW3D_MT_sculpt(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Sculpt"
 
@@ -553,7 +553,7 @@ class VIEW3D_MT_SCULPT(bpy.types.Menu):
 
 # ********** Particle menu **********  
        
-class VIEW3D_MT_PARTICLE(bpy.types.Menu):
+class VIEW3D_MT_particle(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Particle"
 
@@ -576,14 +576,14 @@ class VIEW3D_MT_PARTICLE(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_PARTICLE_showhide")
+               layout.itemM("VIEW3D_MT_particle_showhide")
 
-class VIEW3D_MT_PARTICLE_showhide(VIEW3D_MT_showhide):
+class VIEW3D_MT_particle_showhide(VIEW3D_MT_showhide):
        _operator_name = "particle"
 
 # ********** Pose Menu **********
 
-class VIEW3D_MT_POSE(bpy.types.Menu):
+class VIEW3D_MT_pose(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Pose"
 
@@ -595,7 +595,7 @@ class VIEW3D_MT_POSE(bpy.types.Menu):
                if arm.drawtype in ('BBONE', 'ENVELOPE'):
                        layout.item_enumO("tfm.transform", "mode", 'BONESIZE', text="Scale Envelope Distance")
                
-               layout.itemM("VIEW3D_MT_POSE_transform")
+               layout.itemM("VIEW3D_MT_pose_transform")
                
                layout.itemS()
                
@@ -614,14 +614,14 @@ class VIEW3D_MT_POSE(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_POSE_pose")
-               layout.itemM("VIEW3D_MT_POSE_motion")
-               layout.itemM("VIEW3D_MT_POSE_group")
+               layout.itemM("VIEW3D_MT_pose_pose")
+               layout.itemM("VIEW3D_MT_pose_motion")
+               layout.itemM("VIEW3D_MT_pose_group")
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_POSE_ik")
-               layout.itemM("VIEW3D_MT_POSE_constraints")
+               layout.itemM("VIEW3D_MT_pose_ik")
+               layout.itemM("VIEW3D_MT_pose_constraints")
                
                layout.itemS()
                
@@ -640,10 +640,10 @@ class VIEW3D_MT_POSE(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_POSE_showhide")
+               layout.itemM("VIEW3D_MT_pose_showhide")
                layout.item_menu_enumO("pose.flags_set", 'mode', text="Bone Settings")
 
-class VIEW3D_MT_POSE_transform(bpy.types.Menu):
+class VIEW3D_MT_pose_transform(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Clear Transform"
 
@@ -658,7 +658,7 @@ class VIEW3D_MT_POSE_transform(bpy.types.Menu):
                
                layout.itemL(text="Origin")
                
-class VIEW3D_MT_POSE_pose(bpy.types.Menu):
+class VIEW3D_MT_pose_pose(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Pose Library"
 
@@ -673,7 +673,7 @@ class VIEW3D_MT_POSE_pose(bpy.types.Menu):
                layout.itemO("poselib.pose_rename", text="Rename Pose...")
                layout.itemO("poselib.pose_remove", text="Remove Pose...")
 
-class VIEW3D_MT_POSE_motion(bpy.types.Menu):
+class VIEW3D_MT_pose_motion(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Motion Paths"
 
@@ -683,7 +683,7 @@ class VIEW3D_MT_POSE_motion(bpy.types.Menu):
                layout.itemO("pose.paths_calculate", text="Calculate")
                layout.itemO("pose.paths_clear", text="Clear")
                
-class VIEW3D_MT_POSE_group(bpy.types.Menu):
+class VIEW3D_MT_pose_group(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Bone Groups"
 
@@ -698,7 +698,7 @@ class VIEW3D_MT_POSE_group(bpy.types.Menu):
                layout.itemO("pose.group_unassign")
                
                
-class VIEW3D_MT_POSE_ik(bpy.types.Menu):
+class VIEW3D_MT_pose_ik(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Inverse Kinematics"
 
@@ -708,7 +708,7 @@ class VIEW3D_MT_POSE_ik(bpy.types.Menu):
                layout.itemO("pose.ik_add")
                layout.itemO("pose.ik_clear")
                
-class VIEW3D_MT_POSE_constraints(bpy.types.Menu):
+class VIEW3D_MT_pose_constraints(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Constraints"
 
@@ -718,13 +718,13 @@ class VIEW3D_MT_POSE_constraints(bpy.types.Menu):
                layout.itemO("pose.constraint_add_with_targets", text="Add (With Targets)...")
                layout.itemO("pose.constraints_clear")
                
-class VIEW3D_MT_POSE_showhide(VIEW3D_MT_showhide):
+class VIEW3D_MT_pose_showhide(VIEW3D_MT_showhide):
        _operator_name = "pose"
 
 # ********** Edit Menus, suffix from ob.type **********
 
 # Edit MESH
-class VIEW3D_MT_edit_MESH(bpy.types.Menu):
+class VIEW3D_MT_edit_mesh(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Mesh"
 
@@ -752,10 +752,10 @@ class VIEW3D_MT_edit_MESH(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_edit_MESH_vertices")
-               layout.itemM("VIEW3D_MT_edit_MESH_edges")
-               layout.itemM("VIEW3D_MT_edit_MESH_faces")
-               layout.itemM("VIEW3D_MT_edit_MESH_normals")
+               layout.itemM("VIEW3D_MT_edit_mesh_vertices")
+               layout.itemM("VIEW3D_MT_edit_mesh_edges")
+               layout.itemM("VIEW3D_MT_edit_mesh_faces")
+               layout.itemM("VIEW3D_MT_edit_mesh_normals")
                
                layout.itemS()
                
@@ -765,9 +765,9 @@ class VIEW3D_MT_edit_MESH(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_edit_MESH_showhide")
+               layout.itemM("VIEW3D_MT_edit_mesh_showhide")
 
-class VIEW3D_MT_edit_MESH_vertices(bpy.types.Menu):
+class VIEW3D_MT_edit_mesh_vertices(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Vertices"
 
@@ -784,7 +784,7 @@ class VIEW3D_MT_edit_MESH_vertices(bpy.types.Menu):
                layout.itemO("mesh.vertices_smooth")
                layout.itemO("mesh.remove_doubles")
 
-class VIEW3D_MT_edit_MESH_edges(bpy.types.Menu):
+class VIEW3D_MT_edit_mesh_edges(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Edges"
 
@@ -809,7 +809,7 @@ class VIEW3D_MT_edit_MESH_edges(bpy.types.Menu):
                layout.item_enumO("mesh.edge_rotate", "direction", 'CW', text="Rotate Edge CW")
                layout.item_enumO("mesh.edge_rotate", "direction", 'CCW', text="Rotate Edge CCW")
 
-class VIEW3D_MT_edit_MESH_faces(bpy.types.Menu):
+class VIEW3D_MT_edit_mesh_faces(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Faces"
 
@@ -831,7 +831,7 @@ class VIEW3D_MT_edit_MESH_faces(bpy.types.Menu):
                layout.itemO("mesh.faces_shade_smooth")
                layout.itemO("mesh.faces_shade_flat")
 
-class VIEW3D_MT_edit_MESH_normals(bpy.types.Menu):
+class VIEW3D_MT_edit_mesh_normals(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Normals"
 
@@ -845,13 +845,13 @@ class VIEW3D_MT_edit_MESH_normals(bpy.types.Menu):
                
                layout.itemO("mesh.flip_normals")
                
-class VIEW3D_MT_edit_MESH_showhide(VIEW3D_MT_showhide):
+class VIEW3D_MT_edit_mesh_showhide(VIEW3D_MT_showhide):
        _operator_name = "mesh"
 
-# Edit CURVE
+# Edit Curve
 
-# draw_CURVE is used by VIEW3D_MT_edit_CURVE and VIEW3D_MT_edit_SURFACE
-def draw_CURVE(self, context):
+# draw_curve is used by VIEW3D_MT_edit_curve and VIEW3D_MT_edit_surface
+def draw_curve(self, context):
        layout = self.layout
        
        settings = context.tool_settings
@@ -869,8 +869,8 @@ def draw_CURVE(self, context):
        
        layout.itemS()
        
-       layout.itemM("VIEW3D_MT_edit_CURVE_ctrlpoints")
-       layout.itemM("VIEW3D_MT_edit_CURVE_segments")
+       layout.itemM("VIEW3D_MT_edit_curve_ctrlpoints")
+       layout.itemM("VIEW3D_MT_edit_curve_segments")
        
        layout.itemS()
        
@@ -879,15 +879,15 @@ def draw_CURVE(self, context):
        
        layout.itemS()
        
-       layout.itemM("VIEW3D_MT_edit_CURVE_showhide")
+       layout.itemM("VIEW3D_MT_edit_curve_showhide")
 
-class VIEW3D_MT_edit_CURVE(bpy.types.Menu):
+class VIEW3D_MT_edit_curve(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Curve"
 
-       draw = draw_CURVE
+       draw = draw_curve
        
-class VIEW3D_MT_edit_CURVE_ctrlpoints(bpy.types.Menu):
+class VIEW3D_MT_edit_curve_ctrlpoints(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Control Points"
 
@@ -905,7 +905,7 @@ class VIEW3D_MT_edit_CURVE_ctrlpoints(bpy.types.Menu):
                        
                        layout.item_menu_enumO("curve.handle_type_set", "type")
                
-class VIEW3D_MT_edit_CURVE_segments(bpy.types.Menu):
+class VIEW3D_MT_edit_curve_segments(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Segments"
 
@@ -915,18 +915,18 @@ class VIEW3D_MT_edit_CURVE_segments(bpy.types.Menu):
                layout.itemO("curve.subdivide")
                layout.itemO("curve.switch_direction")
 
-class VIEW3D_MT_edit_CURVE_showhide(VIEW3D_MT_showhide):
+class VIEW3D_MT_edit_curve_showhide(VIEW3D_MT_showhide):
        _operator_name = "curve"
 
 # Edit SURFACE
-class VIEW3D_MT_edit_SURFACE(bpy.types.Menu):
+class VIEW3D_MT_edit_surface(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Surface"
 
-       draw = draw_CURVE
+       draw = draw_curve
 
 # Edit TEXT
-class VIEW3D_MT_edit_TEXT(bpy.types.Menu):
+class VIEW3D_MT_edit_text(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Text"
 
@@ -937,9 +937,9 @@ class VIEW3D_MT_edit_TEXT(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_edit_TEXT_chars")
+               layout.itemm("view3d_mt_edit_text_chars")
 
-class VIEW3D_MT_edit_TEXT_chars(bpy.types.Menu):
+class VIEW3D_MT_edit_text_chars(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Special Characters"
 
@@ -974,7 +974,7 @@ class VIEW3D_MT_edit_TEXT_chars(bpy.types.Menu):
                layout.item_stringO("font.text_insert", "text", b'\xC2\xA1'.decode(), text="Spanish Exclamation Mark|Alt !")
 
 # Edit META
-class VIEW3D_MT_edit_META(bpy.types.Menu):
+class VIEW3D_MT_edit_meta(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Metaball"
 
@@ -1002,9 +1002,9 @@ class VIEW3D_MT_edit_META(bpy.types.Menu):
                
                layout.itemS()
                
-               layout.itemM("VIEW3D_MT_edit_META_showhide")
+               layout.itemM("VIEW3D_MT_edit_meta_showhide")
 
-class VIEW3D_MT_edit_META_showhide(bpy.types.Menu):
+class VIEW3D_MT_edit_meta_showhide(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Show/Hide"
 
@@ -1016,7 +1016,7 @@ class VIEW3D_MT_edit_META_showhide(bpy.types.Menu):
                layout.item_booleanO("mball.hide_metaelems", "unselected", True, text="Hide Unselected")
 
 # Edit LATTICE
-class VIEW3D_MT_edit_LATTICE(bpy.types.Menu):
+class VIEW3D_MT_edit_lattice(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Lattice"
 
@@ -1037,7 +1037,7 @@ class VIEW3D_MT_edit_LATTICE(bpy.types.Menu):
                layout.item_menu_enumR(settings, "proportional_editing_falloff")
 
 # Edit ARMATURE
-class VIEW3D_MT_edit_ARMATURE(bpy.types.Menu):
+class VIEW3D_MT_edit_armature(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Armature"
 
@@ -1048,7 +1048,7 @@ class VIEW3D_MT_edit_ARMATURE(bpy.types.Menu):
                arm = edit_object.data
                
                layout.itemM("VIEW3D_MT_snap")
-               layout.itemM("VIEW3D_MT_edit_ARMATURE_roll")
+               layout.itemM("VIEW3D_MT_edit_armature_roll")
                
                if arm.drawtype == 'ENVELOPE':
                        layout.item_enumO("tfm.transform", "mode", 'BONESIZE', text="Scale Envelope Distance")
@@ -1088,13 +1088,13 @@ class VIEW3D_MT_edit_ARMATURE(bpy.types.Menu):
 
                layout.itemS()
 
-               layout.itemM("VIEW3D_MT_edit_ARMATURE_parent")
+               layout.itemM("VIEW3D_MT_edit_armature_parent")
 
                layout.itemS()
                
                layout.item_menu_enumO("armature.flags_set", "mode", text="Bone Settings")
 
-class VIEW3D_MT_edit_ARMATURE_parent(bpy.types.Menu):
+class VIEW3D_MT_edit_armature_parent(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Parent"
 
@@ -1104,7 +1104,7 @@ class VIEW3D_MT_edit_ARMATURE_parent(bpy.types.Menu):
                layout.itemO("armature.parent_set", text="Make")
                layout.itemO("armature.parent_clear", text="Clear")
 
-class VIEW3D_MT_edit_ARMATURE_roll(bpy.types.Menu):
+class VIEW3D_MT_edit_armature_roll(bpy.types.Menu):
        __space_type__ = 'VIEW_3D'
        __label__ = "Bone Roll"
 
@@ -1285,68 +1285,68 @@ bpy.types.register(VIEW3D_MT_view_navigation)
 bpy.types.register(VIEW3D_MT_view_align)
 bpy.types.register(VIEW3D_MT_view_cameras)
 
-bpy.types.register(VIEW3D_MT_select_OBJECT) # Select Menus
-bpy.types.register(VIEW3D_MT_select_POSE)
-bpy.types.register(VIEW3D_MT_select_PARTICLE)
-bpy.types.register(VIEW3D_MT_select_EDIT_MESH)
-bpy.types.register(VIEW3D_MT_select_EDIT_CURVE)
-bpy.types.register(VIEW3D_MT_select_EDIT_SURFACE)
-bpy.types.register(VIEW3D_MT_select_EDIT_METABALL)
-bpy.types.register(VIEW3D_MT_select_EDIT_LATTICE)
-bpy.types.register(VIEW3D_MT_select_EDIT_ARMATURE)
-bpy.types.register(VIEW3D_MT_select_FACE) # XXX todo
-
-bpy.types.register(VIEW3D_MT_OBJECT) # Object Menu
-bpy.types.register(VIEW3D_MT_OBJECT_clear)
-bpy.types.register(VIEW3D_MT_OBJECT_parent)
-bpy.types.register(VIEW3D_MT_OBJECT_track)
-bpy.types.register(VIEW3D_MT_OBJECT_group)
-bpy.types.register(VIEW3D_MT_OBJECT_constraints)
-bpy.types.register(VIEW3D_MT_OBJECT_showhide)
-
-bpy.types.register(VIEW3D_MT_SCULPT) # Sculpt Menu
-
-bpy.types.register(VIEW3D_MT_PAINT_VERTEX)
-
-bpy.types.register(VIEW3D_MT_PARTICLE) # Particle Menu
-bpy.types.register(VIEW3D_MT_PARTICLE_showhide)
-
-bpy.types.register(VIEW3D_MT_POSE) # POSE Menu
-bpy.types.register(VIEW3D_MT_POSE_transform)
-bpy.types.register(VIEW3D_MT_POSE_pose)
-bpy.types.register(VIEW3D_MT_POSE_motion)
-bpy.types.register(VIEW3D_MT_POSE_group)
-bpy.types.register(VIEW3D_MT_POSE_ik)
-bpy.types.register(VIEW3D_MT_POSE_constraints)
-bpy.types.register(VIEW3D_MT_POSE_showhide)
+bpy.types.register(VIEW3D_MT_select_object) # Select Menus
+bpy.types.register(VIEW3D_MT_select_pose)
+bpy.types.register(VIEW3D_MT_select_particle)
+bpy.types.register(VIEW3D_MT_select_edit_mesh)
+bpy.types.register(VIEW3D_MT_select_edit_curve)
+bpy.types.register(VIEW3D_MT_select_edit_surface)
+bpy.types.register(VIEW3D_MT_select_edit_metaball)
+bpy.types.register(VIEW3D_MT_select_edit_lattice)
+bpy.types.register(VIEW3D_MT_select_edit_armature)
+bpy.types.register(VIEW3D_MT_select_face) # XXX todo
+
+bpy.types.register(VIEW3D_MT_object) # Object Menu
+bpy.types.register(VIEW3D_MT_object_clear)
+bpy.types.register(VIEW3D_MT_object_parent)
+bpy.types.register(VIEW3D_MT_object_track)
+bpy.types.register(VIEW3D_MT_object_group)
+bpy.types.register(VIEW3D_MT_object_constraints)
+bpy.types.register(VIEW3D_MT_object_showhide)
+
+bpy.types.register(VIEW3D_MT_sculpt) # Sculpt Menu
+
+bpy.types.register(VIEW3D_MT_paint_vertex)
+
+bpy.types.register(VIEW3D_MT_particle) # Particle Menu
+bpy.types.register(VIEW3D_MT_particle_showhide)
+
+bpy.types.register(VIEW3D_MT_pose) # POSE Menu
+bpy.types.register(VIEW3D_MT_pose_transform)
+bpy.types.register(VIEW3D_MT_pose_pose)
+bpy.types.register(VIEW3D_MT_pose_motion)
+bpy.types.register(VIEW3D_MT_pose_group)
+bpy.types.register(VIEW3D_MT_pose_ik)
+bpy.types.register(VIEW3D_MT_pose_constraints)
+bpy.types.register(VIEW3D_MT_pose_showhide)
 
 bpy.types.register(VIEW3D_MT_snap) # Edit Menus
 
-bpy.types.register(VIEW3D_MT_edit_MESH)
-bpy.types.register(VIEW3D_MT_edit_MESH_vertices)
-bpy.types.register(VIEW3D_MT_edit_MESH_edges)
-bpy.types.register(VIEW3D_MT_edit_MESH_faces)
-bpy.types.register(VIEW3D_MT_edit_MESH_normals)
-bpy.types.register(VIEW3D_MT_edit_MESH_showhide)
+bpy.types.register(VIEW3D_MT_edit_mesh)
+bpy.types.register(VIEW3D_MT_edit_mesh_vertices)
+bpy.types.register(VIEW3D_MT_edit_mesh_edges)
+bpy.types.register(VIEW3D_MT_edit_mesh_faces)
+bpy.types.register(VIEW3D_MT_edit_mesh_normals)
+bpy.types.register(VIEW3D_MT_edit_mesh_showhide)
 
-bpy.types.register(VIEW3D_MT_edit_CURVE)
-bpy.types.register(VIEW3D_MT_edit_CURVE_ctrlpoints)
-bpy.types.register(VIEW3D_MT_edit_CURVE_segments)
-bpy.types.register(VIEW3D_MT_edit_CURVE_showhide)
+bpy.types.register(VIEW3D_MT_edit_curve)
+bpy.types.register(VIEW3D_MT_edit_curve_ctrlpoints)
+bpy.types.register(VIEW3D_MT_edit_curve_segments)
+bpy.types.register(VIEW3D_MT_edit_curve_showhide)
 
-bpy.types.register(VIEW3D_MT_edit_SURFACE)
+bpy.types.register(VIEW3D_MT_edit_surface)
 
-bpy.types.register(VIEW3D_MT_edit_TEXT)
-bpy.types.register(VIEW3D_MT_edit_TEXT_chars)
+bpy.types.register(VIEW3D_MT_edit_text)
+bpy.types.register(VIEW3D_MT_edit_text_chars)
 
-bpy.types.register(VIEW3D_MT_edit_META)
-bpy.types.register(VIEW3D_MT_edit_META_showhide)
+bpy.types.register(VIEW3D_MT_edit_meta)
+bpy.types.register(VIEW3D_MT_edit_meta_showhide)
 
-bpy.types.register(VIEW3D_MT_edit_LATTICE)
+bpy.types.register(VIEW3D_MT_edit_lattice)
 
-bpy.types.register(VIEW3D_MT_edit_ARMATURE)
-bpy.types.register(VIEW3D_MT_edit_ARMATURE_parent)
-bpy.types.register(VIEW3D_MT_edit_ARMATURE_roll)
+bpy.types.register(VIEW3D_MT_edit_armature)
+bpy.types.register(VIEW3D_MT_edit_armature_parent)
+bpy.types.register(VIEW3D_MT_edit_armature_roll)
 
 bpy.types.register(VIEW3D_PT_3dview_properties) # Panels
 bpy.types.register(VIEW3D_PT_3dview_display)