Revision: 22699
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22699
Author:   campbellbarton
Date:     2009-08-22 10:48:01 +0200 (Sat, 22 Aug 2009)

Log Message:
-----------
use '' for enums rather then ""

Modified Paths:
--------------
    branches/blender2.5/blender/release/io/engine_render_pov.py
    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_metaball.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_material.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_smoke.py
    branches/blender2.5/blender/release/ui/buttons_physics_softbody.py
    branches/blender2.5/blender/release/ui/buttons_scene.py
    branches/blender2.5/blender/release/ui/buttons_texture.py
    branches/blender2.5/blender/release/ui/buttons_world.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_image.py
    branches/blender2.5/blender/release/ui/space_info.py
    branches/blender2.5/blender/release/ui/space_logic.py
    branches/blender2.5/blender/release/ui/space_node.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
    branches/blender2.5/blender/release/ui/space_time.py
    branches/blender2.5/blender/release/ui/space_userpref.py
    branches/blender2.5/blender/release/ui/space_view3d.py
    branches/blender2.5/blender/release/ui/space_view3d_toolbar.py

Modified: branches/blender2.5/blender/release/io/engine_render_pov.py
===================================================================
--- branches/blender2.5/blender/release/io/engine_render_pov.py 2009-08-22 
08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/io/engine_render_pov.py 2009-08-22 
08:48:01 UTC (rev 22699)
@@ -791,8 +791,8 @@
 del buttons_material
 
 class RenderButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "scene"
        # COMPAT_ENGINES must be defined in each subclass, external engines can 
add themselves here
        

Modified: branches/blender2.5/blender/release/ui/buttons_data_armature.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_armature.py     
2009-08-22 08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_armature.py     
2009-08-22 08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
  
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
        
        def poll(self, context):
@@ -90,8 +90,8 @@
                
                col = row.column(align=True)
                col.active = (ob.proxy == None)
-               col.itemO("pose.group_add", icon="ICON_ZOOMIN", text="")
-               col.itemO("pose.group_remove", icon="ICON_ZOOMOUT", text="")
+               col.itemO("pose.group_add", icon='ICON_ZOOMIN', text="")
+               col.itemO("pose.group_remove", icon='ICON_ZOOMOUT', text="")
                
                group = pose.active_bone_group
                if group:

Modified: branches/blender2.5/blender/release/ui/buttons_data_bone.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_bone.py 2009-08-22 
08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_bone.py 2009-08-22 
08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
  
 class BoneButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "bone"
        
        def poll(self, context):
@@ -20,7 +20,7 @@
                        bone = context.edit_bone
                
                row = layout.row()
-               row.itemL(text="", icon="ICON_BONE_DATA")
+               row.itemL(text="", icon='ICON_BONE_DATA')
                row.itemR(bone, "name", text="")
 
 class BONE_PT_transform(BoneButtonsPanel):

Modified: branches/blender2.5/blender/release/ui/buttons_data_camera.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_camera.py       
2009-08-22 08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_camera.py       
2009-08-22 08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
 
        def poll(self, context):

Modified: branches/blender2.5/blender/release/ui/buttons_data_curve.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_curve.py        
2009-08-22 08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_curve.py        
2009-08-22 08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
        
        def poll(self, context):
@@ -80,13 +80,13 @@
                sub.itemL(text="Modification:")
                sub.itemR(curve, "width")
                sub.itemR(curve, "extrude")
-               sub.itemR(curve, "taper_object", icon="ICON_OUTLINER_OB_CURVE")
+               sub.itemR(curve, "taper_object", icon='ICON_OUTLINER_OB_CURVE')
                
                sub = split.column()
                sub.itemL(text="Bevel:")
                sub.itemR(curve, "bevel_depth", text="Depth")
                sub.itemR(curve, "bevel_resolution", text="Resolution")
-               sub.itemR(curve, "bevel_object", icon="ICON_OUTLINER_OB_CURVE")
+               sub.itemR(curve, "bevel_object", icon='ICON_OUTLINER_OB_CURVE')
        
 class DATA_PT_pathanim(DataButtonsPanel):
        __label__ = "Path Animation"

Modified: branches/blender2.5/blender/release/ui/buttons_data_empty.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_empty.py        
2009-08-22 08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_empty.py        
2009-08-22 08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
        
        def poll(self, context):

Modified: branches/blender2.5/blender/release/ui/buttons_data_lamp.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-08-22 
08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-08-22 
08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
        
        def poll(self, context):

Modified: branches/blender2.5/blender/release/ui/buttons_data_lattice.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lattice.py      
2009-08-22 08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_lattice.py      
2009-08-22 08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
        
        def poll(self, context):

Modified: branches/blender2.5/blender/release/ui/buttons_data_mesh.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_mesh.py 2009-08-22 
08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_mesh.py 2009-08-22 
08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
        
        def poll(self, context):
@@ -93,12 +93,12 @@
                row.template_list(ob, "vertex_groups", ob, 
"active_vertex_group_index")
 
                col = row.column(align=True)
-               col.itemO("object.vertex_group_add", icon="ICON_ZOOMIN", 
text="")
-               col.itemO("object.vertex_group_remove", icon="ICON_ZOOMOUT", 
text="")
+               col.itemO("object.vertex_group_add", icon='ICON_ZOOMIN', 
text="")
+               col.itemO("object.vertex_group_remove", icon='ICON_ZOOMOUT', 
text="")
 
-               col.itemO("object.vertex_group_copy", icon="ICON_BLANK1", 
text="")
+               col.itemO("object.vertex_group_copy", icon='ICON_BLANK1', 
text="")
                if ob.data.users > 1:
-                       col.itemO("object.vertex_group_copy_to_linked", 
icon="ICON_BLANK1", text="")
+                       col.itemO("object.vertex_group_copy_to_linked", 
icon='ICON_BLANK1', text="")
 
                group = ob.active_vertex_group
                if group:
@@ -137,15 +137,15 @@
                col = row.column()
 
                subcol = col.column(align=True)
-               subcol.itemO("object.shape_key_add", icon="ICON_ZOOMIN", 
text="")
-               subcol.itemO("object.shape_key_remove", icon="ICON_ZOOMOUT", 
text="")
+               subcol.itemO("object.shape_key_add", icon='ICON_ZOOMIN', 
text="")
+               subcol.itemO("object.shape_key_remove", icon='ICON_ZOOMOUT', 
text="")
 
                if kb:
                        col.itemS()
 
                        subcol = col.column(align=True)
-                       subcol.itemR(ob, "shape_key_lock", 
icon="ICON_UNPINNED", text="")
-                       subcol.itemR(kb, "mute", icon="ICON_MUTE_IPO_ON", 
text="")
+                       subcol.itemR(ob, "shape_key_lock", 
icon='ICON_UNPINNED', text="")
+                       subcol.itemR(kb, "mute", icon='ICON_MUTE_IPO_ON', 
text="")
 
                        if key.relative:
                                row = layout.row()
@@ -197,8 +197,8 @@
                col.template_list(me, "uv_textures", me, 
"active_uv_texture_index", rows=2)
 
                col = row.column(align=True)
-               col.itemO("mesh.uv_texture_add", icon="ICON_ZOOMIN", text="")
-               col.itemO("mesh.uv_texture_remove", icon="ICON_ZOOMOUT", 
text="")
+               col.itemO("mesh.uv_texture_add", icon='ICON_ZOOMIN', text="")
+               col.itemO("mesh.uv_texture_remove", icon='ICON_ZOOMOUT', 
text="")
 
                lay = me.active_uv_texture
                if lay:
@@ -218,8 +218,8 @@
                col.template_list(me, "vertex_colors", me, 
"active_vertex_color_index", rows=2)
 
                col = row.column(align=True)
-               col.itemO("mesh.vertex_color_add", icon="ICON_ZOOMIN", text="")
-               col.itemO("mesh.vertex_color_remove", icon="ICON_ZOOMOUT", 
text="")
+               col.itemO("mesh.vertex_color_add", icon='ICON_ZOOMIN', text="")
+               col.itemO("mesh.vertex_color_remove", icon='ICON_ZOOMOUT', 
text="")
 
                lay = me.active_vertex_color
                if lay:

Modified: branches/blender2.5/blender/release/ui/buttons_data_metaball.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_metaball.py     
2009-08-22 08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_metaball.py     
2009-08-22 08:48:01 UTC (rev 22699)
@@ -1,8 +1,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "data"
        
        def poll(self, context):

Modified: branches/blender2.5/blender/release/ui/buttons_data_modifier.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_modifier.py     
2009-08-22 08:35:39 UTC (rev 22698)
+++ branches/blender2.5/blender/release/ui/buttons_data_modifier.py     
2009-08-22 08:48:01 UTC (rev 22699)
@@ -2,8 +2,8 @@
 import bpy
 
 class DataButtonsPanel(bpy.types.Panel):
-       __space_type__ = "PROPERTIES"
-       __region_type__ = "WINDOW"
+       __space_type__ = 'PROPERTIES'
+       __region_type__ = 'WINDOW'
        __context__ = "modifier"
        
 class DATA_PT_modifiers(DataButtonsPanel):
@@ -202,7 +202,7 @@
        def HOOK(self, layout, ob, md):
                col = layout.column()
                col.itemR(md, "object")
-               if md.object and md.object.type == "ARMATURE":
+               if md.object and md.object.type == 'ARMATURE':

@@ Diff output truncated at 10240 characters. @@

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to