diff options
author | Thomas Dinges <blender@dingto.org> | 2009-07-26 20:31:48 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-07-26 20:31:48 +0400 |
commit | b666f55e0e779d1f30f81035bef571db705d5913 (patch) | |
tree | e5b7009e0fb83894676e0cc7dda361dc6f8405e0 /release | |
parent | 6d84e38856af0bdf01e09022277e6d8f1e54aa22 (diff) |
2.5 Layout files:
* Removed __idname__ from all panels.
Note: Operator classes still need that id. Don't remove it there.
Diffstat (limited to 'release')
25 files changed, 0 insertions, 95 deletions
diff --git a/release/ui/buttons_data_armature.py b/release/ui/buttons_data_armature.py index 51113226dac..34a6964ef23 100644 --- a/release/ui/buttons_data_armature.py +++ b/release/ui/buttons_data_armature.py @@ -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): diff --git a/release/ui/buttons_data_bone.py b/release/ui/buttons_data_bone.py index 4458f8d2d94..0f072b3607d 100644 --- a/release/ui/buttons_data_bone.py +++ b/release/ui/buttons_data_bone.py @@ -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 diff --git a/release/ui/buttons_data_camera.py b/release/ui/buttons_data_camera.py index 9f7a11a980c..595ac01e5bd 100644 --- a/release/ui/buttons_data_camera.py +++ b/release/ui/buttons_data_camera.py @@ -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): diff --git a/release/ui/buttons_data_curve.py b/release/ui/buttons_data_curve.py index caaab7b21fc..36272ca5d3d 100644 --- a/release/ui/buttons_data_curve.py +++ b/release/ui/buttons_data_curve.py @@ -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): diff --git a/release/ui/buttons_data_empty.py b/release/ui/buttons_data_empty.py index f97dedcf6cf..a12883be6a2 100644 --- a/release/ui/buttons_data_empty.py +++ b/release/ui/buttons_data_empty.py @@ -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): diff --git a/release/ui/buttons_data_lamp.py b/release/ui/buttons_data_lamp.py index aa84c5c471d..bf9bf24221b 100644 --- a/release/ui/buttons_data_lamp.py +++ b/release/ui/buttons_data_lamp.py @@ -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 diff --git a/release/ui/buttons_data_lattice.py b/release/ui/buttons_data_lattice.py index 57713749b0c..4ccac2dfa9c 100644 --- a/release/ui/buttons_data_lattice.py +++ b/release/ui/buttons_data_lattice.py @@ -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): diff --git a/release/ui/buttons_data_mesh.py b/release/ui/buttons_data_mesh.py index ed4c50aaf1a..8d6d0ade9f1 100644 --- a/release/ui/buttons_data_mesh.py +++ b/release/ui/buttons_data_mesh.py @@ -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) - diff --git a/release/ui/buttons_data_modifier.py b/release/ui/buttons_data_modifier.py index f4d0f7f8ad0..c4d2aea06e5 100644 --- a/release/ui/buttons_data_modifier.py +++ b/release/ui/buttons_data_modifier.py @@ -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): diff --git a/release/ui/buttons_data_text.py b/release/ui/buttons_data_text.py index 84abe554f5c..9fabf25b11b 100644 --- a/release/ui/buttons_data_text.py +++ b/release/ui/buttons_data_text.py @@ -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) - diff --git a/release/ui/buttons_game.py b/release/ui/buttons_game.py index c2bba62fc27..3f60bceb284 100644 --- a/release/ui/buttons_game.py +++ b/release/ui/buttons_game.py @@ -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): diff --git a/release/ui/buttons_object.py b/release/ui/buttons_object.py index 9ab28241e5d..b2c8105f2bb 100644 --- a/release/ui/buttons_object.py +++ b/release/ui/buttons_object.py @@ -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): diff --git a/release/ui/buttons_object_constraint.py b/release/ui/buttons_object_constraint.py index 1766513a952..b239a96a16a 100644 --- a/release/ui/buttons_object_constraint.py +++ b/release/ui/buttons_object_constraint.py @@ -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" diff --git a/release/ui/buttons_particle.py b/release/ui/buttons_particle.py index 46d7a7999f4..f35d15bbb80 100644 --- a/release/ui/buttons_particle.py +++ b/release/ui/buttons_particle.py @@ -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 diff --git a/release/ui/buttons_physics_cloth.py b/release/ui/buttons_physics_cloth.py index dcfa1a331e5..372dc32d063 100644 --- a/release/ui/buttons_physics_cloth.py +++ b/release/ui/buttons_physics_cloth.py @@ -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) - diff --git a/release/ui/buttons_physics_field.py b/release/ui/buttons_physics_field.py index 7df14b3eef9..180133f599e 100644 --- a/release/ui/buttons_physics_field.py +++ b/release/ui/buttons_physics_field.py @@ -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 diff --git a/release/ui/buttons_physics_fluid.py b/release/ui/buttons_physics_fluid.py index f25aa117c74..1f56c423c13 100644 --- a/release/ui/buttons_physics_fluid.py +++ b/release/ui/buttons_physics_fluid.py @@ -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 diff --git a/release/ui/buttons_physics_softbody.py b/release/ui/buttons_physics_softbody.py index fbcc1be3f01..c73bef18e73 100644 --- a/release/ui/buttons_physics_softbody.py +++ b/release/ui/buttons_physics_softbody.py @@ -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): diff --git a/release/ui/space_buttons.py b/release/ui/space_buttons.py index cae9a813433..b444913809d 100644 --- a/release/ui/space_buttons.py +++ b/release/ui/space_buttons.py @@ -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 diff --git a/release/ui/space_console.py b/release/ui/space_console.py index cf5727cd3a2..264203d74e5 100644 --- a/release/ui/space_console.py +++ b/release/ui/space_console.py @@ -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 diff --git a/release/ui/space_filebrowser.py b/release/ui/space_filebrowser.py index b0aaae8f0a5..9a235516c9d 100644 --- a/release/ui/space_filebrowser.py +++ b/release/ui/space_filebrowser.py @@ -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 diff --git a/release/ui/space_info.py b/release/ui/space_info.py index 9e94be9b746..3cc01a35c1f 100644 --- a/release/ui/space_info.py +++ b/release/ui/space_info.py @@ -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 diff --git a/release/ui/space_outliner.py b/release/ui/space_outliner.py index 545a001349b..5815acc7e12 100644 --- a/release/ui/space_outliner.py +++ b/release/ui/space_outliner.py @@ -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 diff --git a/release/ui/space_sequencer.py b/release/ui/space_sequencer.py index 13f90a1af63..4f60f5ccd61 100644 --- a/release/ui/space_sequencer.py +++ b/release/ui/space_sequencer.py @@ -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 - diff --git a/release/ui/space_text.py b/release/ui/space_text.py index 51f7f6447ae..1b4fcea24b6 100644 --- a/release/ui/space_text.py +++ b/release/ui/space_text.py @@ -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 |