[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21931] branches/blender2.5/blender/ release/ui: 2.5 Layout files:
Thomas Dinges
dingto at gmx.de
Sun Jul 26 18:31:52 CEST 2009
Revision: 21931
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21931
Author: dingto
Date: 2009-07-26 18:31:48 +0200 (Sun, 26 Jul 2009)
Log Message:
-----------
2.5 Layout files:
* Removed __idname__ from all panels.
Note: Operator classes still need that id. Don't remove it there.
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/buttons_data_armature.py
branches/blender2.5/blender/release/ui/buttons_data_bone.py
branches/blender2.5/blender/release/ui/buttons_data_camera.py
branches/blender2.5/blender/release/ui/buttons_data_curve.py
branches/blender2.5/blender/release/ui/buttons_data_empty.py
branches/blender2.5/blender/release/ui/buttons_data_lamp.py
branches/blender2.5/blender/release/ui/buttons_data_lattice.py
branches/blender2.5/blender/release/ui/buttons_data_mesh.py
branches/blender2.5/blender/release/ui/buttons_data_modifier.py
branches/blender2.5/blender/release/ui/buttons_data_text.py
branches/blender2.5/blender/release/ui/buttons_game.py
branches/blender2.5/blender/release/ui/buttons_object.py
branches/blender2.5/blender/release/ui/buttons_object_constraint.py
branches/blender2.5/blender/release/ui/buttons_particle.py
branches/blender2.5/blender/release/ui/buttons_physics_cloth.py
branches/blender2.5/blender/release/ui/buttons_physics_field.py
branches/blender2.5/blender/release/ui/buttons_physics_fluid.py
branches/blender2.5/blender/release/ui/buttons_physics_softbody.py
branches/blender2.5/blender/release/ui/space_buttons.py
branches/blender2.5/blender/release/ui/space_console.py
branches/blender2.5/blender/release/ui/space_filebrowser.py
branches/blender2.5/blender/release/ui/space_info.py
branches/blender2.5/blender/release/ui/space_outliner.py
branches/blender2.5/blender/release/ui/space_sequencer.py
branches/blender2.5/blender/release/ui/space_text.py
Modified: branches/blender2.5/blender/release/ui/buttons_data_armature.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_armature.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_armature.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
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 @@
split.itemS()
class DATA_PT_skeleton(DataButtonsPanel):
- __idname__ = "DATA_PT_skeleton"
__label__ = "Skeleton"
def draw(self, context):
@@ -63,7 +61,6 @@
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 @@
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 @@
#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 @@
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):
Modified: branches/blender2.5/blender/release/ui/buttons_data_bone.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_bone.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_bone.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
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 @@
row.itemR(bone, "name", text="")
class BONE_PT_transform(BoneButtonsPanel):
- __idname__ = "BONE_PT_transform"
__label__ = "Transform"
def draw(self, context):
@@ -70,7 +68,6 @@
col.row().itemR(pchan, "euler_rotation", text="")
class BONE_PT_bone(BoneButtonsPanel):
- __idname__ = "BONE_PT_bone"
__label__ = "Bone"
@@ -107,7 +104,6 @@
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 @@
split.itemL()
class BONE_PT_deform(BoneButtonsPanel):
- __idname__ = "BONE_PT_deform"
__label__ = "Deform"
__default_closed__ = True
Modified: branches/blender2.5/blender/release/ui/buttons_data_camera.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_camera.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_camera.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
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 @@
split.itemS()
class DATA_PT_camera(DataButtonsPanel):
- __idname__ = "DATA_PT_camera"
__label__ = "Lens"
def draw(self, context):
@@ -76,7 +74,6 @@
col.itemR(cam, "dof_distance", text="Distance")
class DATA_PT_camera_display(DataButtonsPanel):
- __idname__ = "DATA_PT_camera_display"
__label__ = "Display"
def draw(self, context):
Modified: branches/blender2.5/blender/release/ui/buttons_data_curve.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_curve.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_curve.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
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_shape_curve(DataButtonsPanel):
- __idname__ = "DATA_PT_shape_curve"
__label__ = "Shape"
def draw(self, context):
@@ -70,7 +68,6 @@
# 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 @@
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 @@
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):
Modified: branches/blender2.5/blender/release/ui/buttons_data_empty.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_empty.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_empty.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
return (context.object and context.object.type == 'EMPTY')
class DATA_PT_empty(DataButtonsPanel):
- __idname__ = "DATA_PT_empty"
__label__ = "Empty"
def draw(self, context):
Modified: branches/blender2.5/blender/release/ui/buttons_data_lamp.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -20,7 +20,6 @@
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 @@
split.itemS()
class DATA_PT_lamp(DataButtonsPanel):
- __idname__ = "DATA_PT_lamp"
__label__ = "Lamp"
def draw(self, context):
@@ -104,7 +102,6 @@
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 @@
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 @@
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 @@
colsub.itemR(lamp, "halo_step", text="Step")
class DATA_PT_falloff_curve(DataButtonsPanel):
- __idname__ = "DATA_PT_falloff_curve"
__label__ = "Falloff Curve"
__default_closed__ = True
Modified: branches/blender2.5/blender/release/ui/buttons_data_lattice.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lattice.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_lattice.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
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_lattice(DataButtonsPanel):
- __idname__ = "DATA_PT_lattice"
__label__ = "Lattice"
def draw(self, context):
Modified: branches/blender2.5/blender/release/ui/buttons_data_mesh.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_mesh.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_mesh.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
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 @@
split.itemS()
class DATA_PT_normals(DataButtonsPanel):
- __idname__ = "DATA_PT_normals"
__label__ = "Normals"
def draw(self, context):
@@ -50,7 +48,6 @@
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 @@
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 @@
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 @@
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_shape_keys)
bpy.types.register(DATA_PT_uv_texture)
bpy.types.register(DATA_PT_vertex_colors)
-
Modified: branches/blender2.5/blender/release/ui/buttons_data_modifier.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_modifier.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_modifier.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -7,7 +7,6 @@
__context__ = "modifier"
class DATA_PT_modifiers(DataButtonsPanel):
- __idname__ = "DATA_PT_modifiers"
__label__ = "Modifiers"
def draw(self, context):
Modified: branches/blender2.5/blender/release/ui/buttons_data_text.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_text.py 2009-07-26 16:15:28 UTC (rev 21930)
+++ branches/blender2.5/blender/release/ui/buttons_data_text.py 2009-07-26 16:31:48 UTC (rev 21931)
@@ -10,7 +10,6 @@
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list