2.5 Layout files:
authorThomas Dinges <blender@dingto.org>
Sun, 26 Jul 2009 16:31:48 +0000 (16:31 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 26 Jul 2009 16:31:48 +0000 (16:31 +0000)
* Removed __idname__ from all panels.
Note: Operator classes still need that id. Don't remove it there.

25 files changed:
release/ui/buttons_data_armature.py
release/ui/buttons_data_bone.py
release/ui/buttons_data_camera.py
release/ui/buttons_data_curve.py
release/ui/buttons_data_empty.py
release/ui/buttons_data_lamp.py
release/ui/buttons_data_lattice.py
release/ui/buttons_data_mesh.py
release/ui/buttons_data_modifier.py
release/ui/buttons_data_text.py
release/ui/buttons_game.py
release/ui/buttons_object.py
release/ui/buttons_object_constraint.py
release/ui/buttons_particle.py
release/ui/buttons_physics_cloth.py
release/ui/buttons_physics_field.py
release/ui/buttons_physics_fluid.py
release/ui/buttons_physics_softbody.py
release/ui/space_buttons.py
release/ui/space_console.py
release/ui/space_filebrowser.py
release/ui/space_info.py
release/ui/space_outliner.py
release/ui/space_sequencer.py
release/ui/space_text.py

index 51113226dac0d137cf03f84129dab14312ca8211..34a6964ef23c95e173b02a32a878ca61fc5c798c 100644 (file)
@@ -10,7 +10,6 @@ class DataButtonsPanel(bpy.types.Panel):
                return (context.armature != None)
 
 class DATA_PT_context_arm(DataButtonsPanel):
-       __idname__ = "DATA_PT_context_arm"
        __show_header__ = False
        
        def draw(self, context):
@@ -30,7 +29,6 @@ class DATA_PT_context_arm(DataButtonsPanel):
                        split.itemS()
 
 class DATA_PT_skeleton(DataButtonsPanel):
-       __idname__ = "DATA_PT_skeleton"
        __label__ = "Skeleton"
        
        def draw(self, context):
@@ -63,7 +61,6 @@ class DATA_PT_skeleton(DataButtonsPanel):
                        sub.template_layers(arm, "layer_protection")
 
 class DATA_PT_display(DataButtonsPanel):
-       __idname__ = "DATA_PT_display"
        __label__ = "Display"
        
        def draw(self, context):
@@ -80,7 +77,6 @@ class DATA_PT_display(DataButtonsPanel):
                sub.itemR(arm, "delay_deform", text="Delay Refresh")
 
 class DATA_PT_bone_groups(DataButtonsPanel):
-       __idname__ = "DATA_PT_bone_groups"
        __label__ = "Bone Groups"
        
        def poll(self, context):
@@ -121,7 +117,6 @@ class DATA_PT_bone_groups(DataButtonsPanel):
                #row.itemO("object.bone_group_deselect", text="Deselect")
 
 class DATA_PT_paths(DataButtonsPanel):
-       __idname__ = "DATA_PT_paths"
        __label__ = "Paths"
 
        def draw(self, context):
@@ -150,7 +145,6 @@ class DATA_PT_paths(DataButtonsPanel):
                sub.itemR(arm, "paths_show_keyframe_numbers", text="Keyframe Numbers")
 
 class DATA_PT_ghost(DataButtonsPanel):
-       __idname__ = "DATA_PT_ghost"
        __label__ = "Ghost"
 
        def draw(self, context):
index 4458f8d2d945f15a5d222837e313212cf533029f..0f072b3607d97e7948725b9da032fa67bc519499 100644 (file)
@@ -10,7 +10,6 @@ class BoneButtonsPanel(bpy.types.Panel):
                return (context.bone or context.edit_bone)
 
 class BONE_PT_context_bone(BoneButtonsPanel):
-       __idname__ = "BONE_PT_context_bone"
        __show_header__ = False
 
        def draw(self, context):
@@ -24,7 +23,6 @@ class BONE_PT_context_bone(BoneButtonsPanel):
                row.itemR(bone, "name", text="")
 
 class BONE_PT_transform(BoneButtonsPanel):
-       __idname__ = "BONE_PT_transform"
        __label__ = "Transform"
 
        def draw(self, context):
@@ -70,7 +68,6 @@ class BONE_PT_transform(BoneButtonsPanel):
                                col.row().itemR(pchan, "euler_rotation", text="")
 
 class BONE_PT_bone(BoneButtonsPanel):
-       __idname__ = "BONE_PT_bone"
        __label__ = "Bone"
 
 
@@ -107,7 +104,6 @@ class BONE_PT_bone(BoneButtonsPanel):
                sub.itemR(bone, "hidden", text="Hide")
 
 class BONE_PT_inverse_kinematics(BoneButtonsPanel):
-       __idname__ = "BONE_PT_inverse_kinematics"
        __label__ = "Inverse Kinematics"
        __default_closed__ = True
        
@@ -177,7 +173,6 @@ class BONE_PT_inverse_kinematics(BoneButtonsPanel):
                split.itemL()
 
 class BONE_PT_deform(BoneButtonsPanel):
-       __idname__ = "BONE_PT_deform"
        __label__ = "Deform"
        __default_closed__ = True
 
index 9f7a11a980c21efac07014a12947294b25d26477..595ac01e5bd04e2de9cdbb7f34d80f563034d0c3 100644 (file)
@@ -10,7 +10,6 @@ class DataButtonsPanel(bpy.types.Panel):
                return (context.camera != None)
                
 class DATA_PT_context_camera(DataButtonsPanel):
-       __idname__ = "DATA_PT_context_camera"
        __show_header__ = False
        
        def draw(self, context):
@@ -30,7 +29,6 @@ class DATA_PT_context_camera(DataButtonsPanel):
                        split.itemS()
 
 class DATA_PT_camera(DataButtonsPanel):
-       __idname__ = "DATA_PT_camera"
        __label__ = "Lens"
 
        def draw(self, context):
@@ -76,7 +74,6 @@ class DATA_PT_camera(DataButtonsPanel):
                col.itemR(cam, "dof_distance", text="Distance")
                
 class DATA_PT_camera_display(DataButtonsPanel):
-       __idname__ = "DATA_PT_camera_display"
        __label__ = "Display"
 
        def draw(self, context):
index caaab7b21fc7e2efeda6f5262f12fcafbf69f67b..36272ca5d3de2a7d267396a7304bdb9bfb18d123 100644 (file)
@@ -10,7 +10,6 @@ class DataButtonsPanel(bpy.types.Panel):
                return (context.object and context.object.type == 'CURVE' and context.curve)
 
 class DATA_PT_context_curve(DataButtonsPanel):
-       __idname__ = "DATA_PT_context_curve"
        __show_header__ = False
        
        def draw(self, context):
@@ -31,7 +30,6 @@ class DATA_PT_context_curve(DataButtonsPanel):
 
 
 class DATA_PT_shape_curve(DataButtonsPanel):
-       __idname__ = "DATA_PT_shape_curve"
        __label__ = "Shape"
        
        def draw(self, context):
@@ -70,7 +68,6 @@ class DATA_PT_shape_curve(DataButtonsPanel):
 #                      sub.itemR(curve, "vertex_normal_flip")
 
 class DATA_PT_geometry_curve(DataButtonsPanel):
-       __idname__ = "DATA_PT_geometry_curve"
        __label__ = "Geometry "
 
        def draw(self, context):
@@ -92,7 +89,6 @@ class DATA_PT_geometry_curve(DataButtonsPanel):
                sub.itemR(curve, "bevel_object", icon="ICON_OUTLINER_OB_CURVE")
        
 class DATA_PT_pathanim(DataButtonsPanel):
-       __idname__ = "DATA_PT_pathanim"
        __label__ = "Path Animation"
        
        def draw_header(self, context):
@@ -117,7 +113,6 @@ class DATA_PT_pathanim(DataButtonsPanel):
                sub.itemR(curve, "offset_path_distance", text="Offset Children")
        
 class DATA_PT_current_curve(DataButtonsPanel):
-       __idname__ = "DATA_PT_current_curve"
        __label__ = "Current Curve"
 
        def draw(self, context):
index f97dedcf6cf1080cba57abdd9c887759067faf7d..a12883be6a2b0862d7b38913b6153e3652c57c1f 100644 (file)
@@ -10,7 +10,6 @@ class DataButtonsPanel(bpy.types.Panel):
                return (context.object and context.object.type == 'EMPTY')
        
 class DATA_PT_empty(DataButtonsPanel):
-       __idname__ = "DATA_PT_empty"
        __label__ = "Empty"
 
        def draw(self, context):
index aa84c5c471d59be76cfba5aac07a47049d024ea7..bf9bf24221bb9ff09c63b76d3b2993b1c6ae6dc6 100644 (file)
@@ -20,7 +20,6 @@ class DATA_PT_preview(DataButtonsPanel):
                layout.template_preview(lamp)
        
 class DATA_PT_context_lamp(DataButtonsPanel):
-       __idname__ = "DATA_PT_context_lamp"
        __show_header__ = False
        
        def draw(self, context):
@@ -40,7 +39,6 @@ class DATA_PT_context_lamp(DataButtonsPanel):
                        split.itemS()
 
 class DATA_PT_lamp(DataButtonsPanel):
-       __idname__ = "DATA_PT_lamp"
        __label__ = "Lamp"
 
        def draw(self, context):
@@ -104,7 +102,6 @@ class DATA_PT_lamp(DataButtonsPanel):
                        sub.itemR(lamp, "gamma", text="Value")
                                
 class DATA_PT_sunsky(DataButtonsPanel):
-       __idname__ = "DATA_PT_sunsky"
        __label__ = "Sun/Sky"
        
        def poll(self, context):
@@ -170,7 +167,6 @@ class DATA_PT_sunsky(DataButtonsPanel):
                sub.itemR(lamp, "atmosphere_extinction", slider=True ,text="Extinction")
                
 class DATA_PT_shadow(DataButtonsPanel):
-       __idname__ = "DATA_PT_shadow"
        __label__ = "Shadow"
        
        def poll(self, context):
@@ -263,7 +259,6 @@ class DATA_PT_shadow(DataButtonsPanel):
                                row.itemR(lamp, "shadow_buffer_clip_end", text=" Clip End")
 
 class DATA_PT_spot(DataButtonsPanel):
-       __idname__ = "DATA_PT_spot"
        __label__ = "Spot"
        
        def poll(self, context):
@@ -290,7 +285,6 @@ class DATA_PT_spot(DataButtonsPanel):
                        colsub.itemR(lamp, "halo_step", text="Step")
 
 class DATA_PT_falloff_curve(DataButtonsPanel):
-       __idname__ = "DATA_PT_falloff_curve"
        __label__ = "Falloff Curve"
        __default_closed__ = True
        
index 57713749b0c2c3ab960b0959bfe46750ee6cfec9..4ccac2dfa9c71c9bc9cda4c5eb115f48683628a2 100644 (file)
@@ -10,7 +10,6 @@ class DataButtonsPanel(bpy.types.Panel):
                return (context.lattice != None)
        
 class DATA_PT_context_lattice(DataButtonsPanel):
-       __idname__ = "DATA_PT_context_lattice"
        __show_header__ = False
        
        def draw(self, context):
@@ -31,7 +30,6 @@ class DATA_PT_context_lattice(DataButtonsPanel):
 
 
 class DATA_PT_lattice(DataButtonsPanel):
-       __idname__ = "DATA_PT_lattice"
        __label__ = "Lattice"
 
        def draw(self, context):
index ed4c50aaf1a9f8165d8b9423cc506ea355bf9b28..8d6d0ade9f11d28436c479b67163d65d4c974163 100644 (file)
@@ -10,7 +10,6 @@ class DataButtonsPanel(bpy.types.Panel):
                return (context.mesh != None)
 
 class DATA_PT_context_mesh(DataButtonsPanel):
-       __idname__ = "DATA_PT_context_mesh"
        __show_header__ = False
        
        def draw(self, context):
@@ -30,7 +29,6 @@ class DATA_PT_context_mesh(DataButtonsPanel):
                        split.itemS()
 
 class DATA_PT_normals(DataButtonsPanel):
-       __idname__ = "DATA_PT_normals"
        __label__ = "Normals"
 
        def draw(self, context):
@@ -50,7 +48,6 @@ class DATA_PT_normals(DataButtonsPanel):
                sub.itemR(mesh, "double_sided")
 
 class DATA_PT_vertex_groups(DataButtonsPanel):
-       __idname__ = "DATA_PT_vertex_groups"
        __label__ = "Vertex Groups"
        
        def poll(self, context):
@@ -88,7 +85,6 @@ class DATA_PT_vertex_groups(DataButtonsPanel):
                        layout.itemR(context.tool_settings, "vertex_group_weight", text="Weight")
 
 class DATA_PT_shape_keys(DataButtonsPanel):
-       __idname__ = "DATA_PT_shape_keys"
        __label__ = "Shape Keys"
        
        def poll(self, context):
@@ -146,7 +142,6 @@ class DATA_PT_shape_keys(DataButtonsPanel):
                        layout.enabled = False
 
 class DATA_PT_uv_texture(DataButtonsPanel):
-       __idname__ = "DATA_PT_uv_texture"
        __label__ = "UV Texture"
        
        def draw(self, context):
@@ -167,7 +162,6 @@ class DATA_PT_uv_texture(DataButtonsPanel):
                        layout.itemR(lay, "name")
 
 class DATA_PT_vertex_colors(DataButtonsPanel):
-       __idname__ = "DATA_PT_vertex_colors"
        __label__ = "Vertex Colors"
        
        def draw(self, context):
@@ -193,4 +187,3 @@ bpy.types.register(DATA_PT_vertex_groups)
 bpy.types.register(DATA_PT_shape_keys)
 bpy.types.register(DATA_PT_uv_texture)
 bpy.types.register(DATA_PT_vertex_colors)
-
index f4d0f7f8ad0cb34c2dbac12804db5b25efc6e7cd..c4d2aea06e551c669c1779f20d41ee022d21893a 100644 (file)
@@ -7,7 +7,6 @@ class DataButtonsPanel(bpy.types.Panel):
        __context__ = "modifier"
        
 class DATA_PT_modifiers(DataButtonsPanel):
-       __idname__ = "DATA_PT_modifiers"
        __label__ = "Modifiers"
 
        def draw(self, context):
index 84abe554f5c7849de802aab2209aedf126ab262e..9fabf25b11b11cf5e443f5f4cba3d0421cdad77e 100644 (file)
@@ -10,7 +10,6 @@ class DataButtonsPanel(bpy.types.Panel):
                return (context.object and context.object.type == 'TEXT' and context.curve)
 
 class DATA_PT_context_text(DataButtonsPanel):
-       __idname__ = "DATA_PT_context_text"
        __show_header__ = False
 
        def draw(self, context):
@@ -30,7 +29,6 @@ class DATA_PT_context_text(DataButtonsPanel):
                        split.itemS()
 
 class DATA_PT_shape_text(DataButtonsPanel):
-       __idname__ = "DATA_PT_shape_text"
        __label__ = "Shape Text"
 
        def draw(self, context):
@@ -65,7 +63,6 @@ class DATA_PT_shape_text(DataButtonsPanel):
                        sub.itemR(curve, "fast")
 
 class DATA_PT_geometry_text(DataButtonsPanel):
-       __idname__ = "DATA_PT_geometry_text"
        __label__ = "Geometry"
 
        def draw(self, context):
@@ -87,7 +84,6 @@ class DATA_PT_geometry_text(DataButtonsPanel):
                sub.itemR(curve, "bevel_object")
 
 class DATA_PT_font(DataButtonsPanel):
-       __idname__ = "DATA_PT_font"
        __label__ = "Font"
 
        def draw(self, context):
@@ -118,7 +114,6 @@ class DATA_PT_font(DataButtonsPanel):
        #       sub.itemR(text, "edit_format")
 
 class DATA_PT_paragraph(DataButtonsPanel):
-       __idname__ = "DATA_PT_paragraph"
        __label__ = "Paragraph"
 
        def draw(self, context):
@@ -144,7 +139,6 @@ class DATA_PT_paragraph(DataButtonsPanel):
 
 """            
 class DATA_PT_textboxes(DataButtonsPanel):
-               __idname__ = "DATA_PT_textboxes"
                __label__ = "Text Boxes"
 
                def draw(self, context):
@@ -158,4 +152,3 @@ bpy.types.register(DATA_PT_geometry_text)
 bpy.types.register(DATA_PT_font)
 bpy.types.register(DATA_PT_paragraph)
 #bpy.types.register(DATA_PT_textboxes)
-
index c2bba62fc27ac3f48f17a5f6ca3200690b8eb8eb..3f60bceb284e104eb24ba86a8ccc102581a736bc 100644 (file)
@@ -12,7 +12,6 @@ class PhysicsButtonsPanel(bpy.types.Panel):
                return ob and ob.game and (rd.engine == 'BLENDER_GAME')
 
 class PHYSICS_PT_game_physics(PhysicsButtonsPanel):
-       __idname__ = "PHYSICS_PT_game_physics"
        __label__ = "Physics"
 
        def draw(self, context):
@@ -77,7 +76,6 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel):
                sub.itemR(game, "lock_z_rot_axis", text="Z")
 
 class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel):
-       __idname__ = "PHYSICS_PT_game_collision_bounds"
        __label__ = "Collision Bounds"
 
        def draw_header(self, context):
index 9ab28241e5d3e4cf9b5d6cf197da823bd8025ff2..b2c8105f2bbc7e866f0350646bf364b831eb18f4 100644 (file)
@@ -7,7 +7,6 @@ class ObjectButtonsPanel(bpy.types.Panel):
        __context__ = "object"
 
 class OBJECT_PT_context_object(ObjectButtonsPanel):
-       __idname__ = "OBJECT_PT_context_object"
        __show_header__ = False
 
        def draw(self, context):
@@ -19,7 +18,6 @@ class OBJECT_PT_context_object(ObjectButtonsPanel):
                row.itemR(ob, "name", text="")
 
 class OBJECT_PT_transform(ObjectButtonsPanel):
-       __idname__ = "OBJECT_PT_transform"
        __label__ = "Transform"
 
        def draw(self, context):
@@ -32,7 +30,6 @@ class OBJECT_PT_transform(ObjectButtonsPanel):
                row.column().itemR(ob, "scale")
 
 class OBJECT_PT_relations(ObjectButtonsPanel):
-       __idname__ = "OBJECT_PT_relations"
        __label__ = "Relations"
 
        def draw(self, context):
@@ -57,7 +54,6 @@ class OBJECT_PT_relations(ObjectButtonsPanel):
                sub.active = parent != None
 
 class OBJECT_PT_groups(ObjectButtonsPanel):
-       __idname__ = "OBJECT_PT_groups"
        __label__ = "Groups"
 
        def draw(self, context):
@@ -83,7 +79,6 @@ class OBJECT_PT_groups(ObjectButtonsPanel):
                                split.column().itemR(group, "dupli_offset", text="")
 
 class OBJECT_PT_display(ObjectButtonsPanel):
-       __idname__ = "OBJECT_PT_display"
        __label__ = "Display"
 
        def draw(self, context):
@@ -103,7 +98,6 @@ class OBJECT_PT_display(ObjectButtonsPanel):
                flow.itemR(ob, "draw_transparent", text="Transparency")
 
 class OBJECT_PT_duplication(ObjectButtonsPanel):
-       __idname__ = "OBJECT_PT_duplication"
        __label__ = "Duplication"
 
        def draw(self, context):
@@ -137,7 +131,6 @@ class OBJECT_PT_duplication(ObjectButtonsPanel):
                        layout.itemR(ob, "dupli_group", text="Group")
 
 class OBJECT_PT_animation(ObjectButtonsPanel):
-       __idname__ = "OBJECT_PT_animation"
        __label__ = "Animation"
 
        def draw(self, context):
index 1766513a952261c5b78a2ab740e95ed550bec30c..b239a96a16adb0ffa36400c36a777456baab3f21 100644 (file)
@@ -512,7 +512,6 @@ class ConstraintButtonsPanel(bpy.types.Panel):
                        row.itemR(con, "axis_z")
                
 class OBJECT_PT_constraints(ConstraintButtonsPanel):
-       __idname__ = "OBJECT_PT_constraints"
        __label__ = "Constraints"
        __context__ = "constraint"
 
@@ -531,7 +530,6 @@ class OBJECT_PT_constraints(ConstraintButtonsPanel):
                        self.draw_constraint(con)
 
 class BONE_PT_constraints(ConstraintButtonsPanel):
-       __idname__ = "BONE_PT_constraints"
        __label__ = "Constraints"
        __context__ = "bone"
 
index 46d7a7999f43822c8bd9fa9b2c28f345545f862e..f35d15bbb80ceadf47f7f24088bb776adc1b23eb 100644 (file)
@@ -19,7 +19,6 @@ class ParticleButtonsPanel(bpy.types.Panel):
                return particle_panel_poll(context)
 
 class PARTICLE_PT_particles(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_particles"
        __show_header__ = False
 
        def poll(self, context):
@@ -83,7 +82,6 @@ class PARTICLE_PT_particles(ParticleButtonsPanel):
                                        split.itemR(psys, "reactor_target_particle_system", text="Particle System")
                
 class PARTICLE_PT_emission(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_emission"
        __label__ = "Emission"
        
        def poll(self, context):
@@ -135,7 +133,6 @@ class PARTICLE_PT_emission(ParticleButtonsPanel):
                                row.itemR(part, "grid_resolution")
 
 class PARTICLE_PT_cache(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_cache"
        __label__ = "Cache"
        __default_closed__ = True
        
@@ -216,7 +213,6 @@ class PARTICLE_PT_cache(ParticleButtonsPanel):
                #row.itemR(cache, "end_frame")
 
 class PARTICLE_PT_initial(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_initial"
        __label__ = "Velocity"
        
        def poll(self, context):
@@ -283,7 +279,6 @@ class PARTICLE_PT_initial(ParticleButtonsPanel):
                sub.itemR(part, "angular_velocity_factor", text="")
                
 class PARTICLE_PT_physics(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_physics"
        __label__ = "Physics"
        
        def poll(self, context):
@@ -427,7 +422,6 @@ class PARTICLE_PT_physics(ParticleButtonsPanel):
                                        layout.itemR(key, "mode", expand=True)
 
 class PARTICLE_PT_boidbrain(ParticleButtonsPanel):
-       __idname__ = "PARTICLE_PT_boidbrain"
        __label__ = "Boid Brain"
 
        def poll(self, context):
@@ -522,7 +516,6 @@ class PARTICLE_PT_boidbrain(ParticleButtonsPanel):
                
 
 class PARTICLE_PT_render(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_render"
        __label__ = "Render"
        
        def poll(self, context):
@@ -664,7 +657,6 @@ class PARTICLE_PT_render(ParticleButtonsPanel):
                                col.itemL(text="")
                                
 class PARTICLE_PT_draw(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_draw"
        __label__ = "Display"
        __default_closed__ = True
        
@@ -721,7 +713,6 @@ class PARTICLE_PT_draw(ParticleButtonsPanel):
                        #subcol.itemL(text="Override material color")
 
 class PARTICLE_PT_children(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_children"
        __label__ = "Children"
        __default_closed__ = True
 
@@ -798,7 +789,6 @@ class PARTICLE_PT_children(ParticleButtonsPanel):
                sub.itemR(part, "kink_shape", slider=True)
 
 class PARTICLE_PT_effectors(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_effectors"
        __label__ = "Effectors"
        __default_closed__ = True
        
@@ -824,7 +814,6 @@ class PARTICLE_PT_effectors(ParticleButtonsPanel):
                layout.itemR(part, "eweight_lennardjones", slider=True)
                
 class PARTICLE_PT_vertexgroups(ParticleButtonsPanel):
-       __idname__= "PARTICLE_PT_vertexgroups"
        __label__ = "Vertexgroups"
        __default_closed__ = True
 
index dcfa1a331e5f3e8cdc87986d49b09bcad6acb874..372dc32d0633ce4de3b817e6de3291945014cfb0 100644 (file)
@@ -12,7 +12,6 @@ class PhysicButtonsPanel(bpy.types.Panel):
                return (ob and ob.type == 'MESH') and (not rd.use_game_engine)
                
 class PHYSICS_PT_cloth(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_cloth"
        __label__ = "Cloth"
 
        def draw(self, context):
@@ -76,7 +75,6 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel):
                        """
 
 class PHYSICS_PT_cloth_cache(PhysicButtonsPanel):
-       __idname__= "PHYSICS_PT_cloth_cache"
        __label__ = "Cloth Cache"
        __default_closed__ = True
 
@@ -126,7 +124,6 @@ class PHYSICS_PT_cloth_cache(PhysicButtonsPanel):
                layout.itemO("ptcache.bake_all", text="Update All Dynamics to current frame")
                
 class PHYSICS_PT_cloth_collision(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_clothcollision"
        __label__ = "Cloth Collision"
        __default_closed__ = True
 
@@ -159,7 +156,6 @@ class PHYSICS_PT_cloth_collision(PhysicButtonsPanel):
                col.itemR(cloth, "self_min_distance", slider=True, text="Distance")
 
 class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_stiffness"
        __label__ = "Cloth Stiffness Scaling"
        __default_closed__ = True
 
@@ -197,4 +193,3 @@ bpy.types.register(PHYSICS_PT_cloth)
 bpy.types.register(PHYSICS_PT_cloth_cache)
 bpy.types.register(PHYSICS_PT_cloth_collision)
 bpy.types.register(PHYSICS_PT_cloth_stiffness)
-
index 7df14b3eef95c02c3582bc7127b7982105558972..180133f599e54cf5034f54490f4ce187e1f15eba 100644 (file)
@@ -11,7 +11,6 @@ class PhysicButtonsPanel(bpy.types.Panel):
                return (context.object != None) and (not rd.use_game_engine)
                
 class PHYSICS_PT_field(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_field"
        __label__ = "Force Fields"
        __default_closed__ = True
 
@@ -166,7 +165,6 @@ class PHYSICS_PT_field(PhysicButtonsPanel):
                                #layout.itemR(field, "surface")
 
 class PHYSICS_PT_collision(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_collision"
        __label__ = "Collision"
        __default_closed__ = True
        
index f25aa117c74eaaa82954f48f5f1b54424fe4c4b1..1f56c423c13302e7a3e1f730f806614c226f2c1a 100644 (file)
@@ -12,7 +12,6 @@ class PhysicButtonsPanel(bpy.types.Panel):
                return (ob and ob.type == 'MESH') and (not rd.use_game_engine)
                
 class PHYSICS_PT_fluid(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_fluid"
        __label__ = "Fluid"
 
        def draw(self, context):
@@ -168,7 +167,6 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel):
                                col.itemR(fluid, "velocity_radius", text="Radius")
 
 class PHYSICS_PT_domain_gravity(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_domain_gravity"
        __label__ = "Domain World"
        __default_closed__ = True
        
@@ -212,7 +210,6 @@ class PHYSICS_PT_domain_gravity(PhysicButtonsPanel):
                col.itemR(fluid, "compressibility", slider=True)
        
 class PHYSICS_PT_domain_boundary(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_domain_boundary"
        __label__ = "Domain Boundary"
        __default_closed__ = True
        
@@ -243,7 +240,6 @@ class PHYSICS_PT_domain_boundary(PhysicButtonsPanel):
                col.itemR(fluid, "surface_subdivisions", text="Subdivisions")   
                
 class PHYSICS_PT_domain_particles(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_domain_particles"
        __label__ = "Domain Particles"
        __default_closed__ = True
        
index fbcc1be3f012fa4c007e0df1c67947538a268f2a..c73bef18e7328c40adf098e22997acf483251369 100644 (file)
@@ -12,7 +12,6 @@ class PhysicButtonsPanel(bpy.types.Panel):
                return (ob and ob.type == 'MESH') and (not rd.use_game_engine)
                
 class PHYSICS_PT_softbody(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_softbody"
        __label__ = "Soft Body"
 
        def draw(self, context):
@@ -54,7 +53,6 @@ class PHYSICS_PT_softbody(PhysicButtonsPanel):
                        
                        
 class PHYSICS_PT_softbody_goal(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_softbody_goal"
        __label__ = "Soft Body Goal"
        
        def poll(self, context):
@@ -94,7 +92,6 @@ class PHYSICS_PT_softbody_goal(PhysicButtonsPanel):
                        layout.item_pointerR(softbody, "goal_vertex_group", ob, "vertex_groups", text="Vertex Group")
 
 class PHYSICS_PT_softbody_edge(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_softbody_edge"
        __label__ = "Soft Body Edges"
        
        def poll(self, context):
@@ -145,7 +142,6 @@ class PHYSICS_PT_softbody_edge(PhysicButtonsPanel):
                        col.itemR(softbody, "face_collision", text="Face")
                        
 class PHYSICS_PT_softbody_collision(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_softbody_collision"
        __label__ = "Soft Body Collision"
        
        def poll(self, context):
@@ -178,7 +174,6 @@ class PHYSICS_PT_softbody_collision(PhysicButtonsPanel):
                        col.itemR(softbody, "ball_damp", text="Dampening")
 
 class PHYSICS_PT_softbody_solver(PhysicButtonsPanel):
-       __idname__ = "PHYSICS_PT_softbody_solver"
        __label__ = "Soft Body Solver"
        
        def poll(self, context):
index cae9a813433886931270788388ded2a8a750019c..b444913809d89418c84cd55d0dbc8698c6d62bf5 100644 (file)
@@ -3,7 +3,6 @@ import bpy
 
 class Buttons_HT_header(bpy.types.Header):
        __space_type__ = "BUTTONS_WINDOW"
-       __idname__ = "BUTTONS_HT_header"
 
        def draw(self, context):
                layout = self.layout
index cf5727cd3a2737e87ea0500f39273e4b6bfd6f26..264203d74e561869279ad0f9922739d697d7c8c3 100644 (file)
@@ -6,7 +6,6 @@ del bpy_ops
 
 class CONSOLE_HT_header(bpy.types.Header):
        __space_type__ = "CONSOLE"
-       __idname__ = "CONSOLE_HT_header"
 
        def draw(self, context):
                sc = context.space_data
index b0aaae8f0a58899253908a177db87314eb21c5e7..9a235516c9d87ad7321111a71ee1770e3e3172e6 100644 (file)
@@ -4,7 +4,6 @@ import bpy
 
 class FILEBROWSER_HT_header(bpy.types.Header):
        __space_type__ = "FILE_BROWSER"
-       __idname__ = "FILEBROWSER_HT_header"
 
        def draw(self, context):
                st = context.space_data
index 9e94be9b746e7807d83f5d357c6fa03c48998cce..3cc01a35c1fa402f328bdc92bfe678093e4c414e 100644 (file)
@@ -3,7 +3,6 @@ import bpy
 
 class INFO_HT_header(bpy.types.Header):
        __space_type__ = "USER_PREFERENCES"
-       __idname__ = "INFO_HT_header"
 
        def draw(self, context):
                st = context.space_data
index 545a001349b0cb1678cf77c2773810313662be9d..5815acc7e1202a137c483513f1e2bf3da554f670 100644 (file)
@@ -3,7 +3,6 @@ import bpy
 
 class OUTLINER_HT_header(bpy.types.Header):
        __space_type__ = "OUTLINER"
-       __idname__ = "OUTLINER_HT_header"
 
        def draw(self, context):
                so = context.space_data
index 13f90a1af6358828124da98b010ccf7a11c273b6..4f60f5ccd617673dd7b927e39b6f89857bf0a12e 100644 (file)
@@ -8,7 +8,6 @@ def act_strip(context):
 # Header
 class SEQUENCER_HT_header(bpy.types.Header):
        __space_type__ = "SEQUENCE_EDITOR"
-       __idname__ = "SEQUENCE_HT_header"
 
        def draw(self, context):
                
@@ -263,7 +262,6 @@ class SequencerButtonsPanel_Output(bpy.types.Panel):
 
 class SEQUENCER_PT_edit(SequencerButtonsPanel):
        __label__ = "Edit Strip"
-       __idname__ = "SEQUENCER_PT_edit"
 
        def draw(self, context):
                layout = self.layout
@@ -302,7 +300,6 @@ class SEQUENCER_PT_edit(SequencerButtonsPanel):
                
 class SEQUENCER_PT_effect(SequencerButtonsPanel):
        __label__ = "Effect Strip"
-       __idname__ = "SEQUENCER_PT_effect"
 
        def poll(self, context):
                if context.space_data.display_mode != 'SEQUENCER':
@@ -395,7 +392,6 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel):
 
 class SEQUENCER_PT_input(SequencerButtonsPanel):
        __label__ = "Strip Input"
-       __idname__ = "SEQUENCER_PT_input"
        
        def poll(self, context):
                if context.space_data.display_mode != 'SEQUENCER':
@@ -451,7 +447,6 @@ class SEQUENCER_PT_input(SequencerButtonsPanel):
 
 class SEQUENCER_PT_filter(SequencerButtonsPanel):
        __label__ = "Filter"
-       __idname__ = "SEQUENCER_PT_filter"
        
        def poll(self, context):
                if context.space_data.display_mode != 'SEQUENCER':
@@ -500,7 +495,6 @@ class SEQUENCER_PT_filter(SequencerButtonsPanel):
 
 class SEQUENCER_PT_proxy(SequencerButtonsPanel):
        __label__ = "Proxy"
-       __idname__ = "SEQUENCER_PT_proxy"
        
        def poll(self, context):
                if context.space_data.display_mode != 'SEQUENCER':
@@ -533,7 +527,6 @@ class SEQUENCER_PT_proxy(SequencerButtonsPanel):
 
 class SEQUENCER_PT_view(SequencerButtonsPanel_Output):
        __label__ = "View Settings"
-       __idname__ = "SEQUENCER_PT_view"
 
        def draw(self, context):
                st = context.space_data
@@ -560,4 +553,3 @@ bpy.types.register(SEQUENCER_PT_filter)
 bpy.types.register(SEQUENCER_PT_proxy)
 
 bpy.types.register(SEQUENCER_PT_view) # view panels
-
index 51f7f6447aedfd5ed1a02456ef22eea306e63e29..1b4fcea24b69c317707b77aeaa5305bdacb9515c 100644 (file)
@@ -3,7 +3,6 @@ import bpy
 
 class TEXT_HT_header(bpy.types.Header):
        __space_type__ = "TEXT_EDITOR"
-       __idname__ = "TEXT_HT_header"
 
        def draw(self, context):
                st = context.space_data