[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25199] trunk/blender/release/scripts: white space commit (spaces -> tabs and clearing whitespace)

Campbell Barton ideasman42 at gmail.com
Tue Dec 8 08:11:43 CET 2009


Revision: 25199
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25199
Author:   campbellbarton
Date:     2009-12-08 08:11:43 +0100 (Tue, 08 Dec 2009)

Log Message:
-----------
white space commit (spaces -> tabs and clearing whitespace)

Modified Paths:
--------------
    trunk/blender/release/scripts/modules/rigify/__init__.py
    trunk/blender/release/scripts/modules/rigify/arm.py
    trunk/blender/release/scripts/modules/rigify/delta.py
    trunk/blender/release/scripts/modules/rigify/neck.py
    trunk/blender/release/scripts/modules/rigify/palm.py
    trunk/blender/release/scripts/modules/rigify/spine.py
    trunk/blender/release/scripts/modules/rna_prop_ui.py
    trunk/blender/release/scripts/ui/space_dopesheet.py
    trunk/blender/release/scripts/ui/space_graph.py
    trunk/blender/release/scripts/ui/space_nla.py

Modified: trunk/blender/release/scripts/modules/rigify/__init__.py
===================================================================
--- trunk/blender/release/scripts/modules/rigify/__init__.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/modules/rigify/__init__.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -450,7 +450,7 @@
 
         if bone_name not in bone_typeinfos:
             continue
-        
+
         bone_def_dict = bone_definitions[bone_name]
 
         # Only blend results from the same submodule, eg.

Modified: trunk/blender/release/scripts/modules/rigify/arm.py
===================================================================
--- trunk/blender/release/scripts/modules/rigify/arm.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/modules/rigify/arm.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -64,7 +64,7 @@
     mt.update()
 
     mt.shoulder_p = mt.arm_p.parent
-    
+
     if not mt.shoulder_p:
         raise Exception("could not find 'arm' parent, skipping:", orig_bone_name)
     print(mt.shoulder_p)

Modified: trunk/blender/release/scripts/modules/rigify/delta.py
===================================================================
--- trunk/blender/release/scripts/modules/rigify/delta.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/modules/rigify/delta.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -86,14 +86,14 @@
     del child_pbone
 
     bpy.ops.object.mode_set(mode='OBJECT')
-    
-    
 
+
+
     # Move the child bone to the deltas location
     obj.animation_data_create()
     delta_pbone = obj.pose.bones[delta_name]
     # child_pbone = obj.pose.bones[child_name]
-    
+
     # ------------------- drivers
 
     delta_pbone.rotation_mode = 'XYZ'

Modified: trunk/blender/release/scripts/modules/rigify/neck.py
===================================================================
--- trunk/blender/release/scripts/modules/rigify/neck.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/modules/rigify/neck.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -161,8 +161,8 @@
         neck_e_parent.head = neck_e.head
         neck_e_parent.tail = neck_e.head + ((mt.head_e.tail - mt.head_e.head).normalize() * neck_chain_segment_length / 2.0)
         neck_e_parent.roll = neck_e.roll
-        
 
+
         orig_parent = neck_e.parent
         neck_e.connected = False
         neck_e.parent = neck_e_parent
@@ -221,7 +221,7 @@
     head_driver_path = mt.head_p.path_to_id()
 
     target_names = [("b%.2d" % (i + 1)) for i in range(len(neck_chain))]
-    
+
     mt.head_p["bend_tot"] = 0.0
     fcurve = mt.head_p.driver_add('["bend_tot"]', 0)
     driver = fcurve.driver
@@ -234,8 +234,8 @@
         tar.id_type = 'OBJECT'
         tar.id = obj
         tar.rna_path = head_driver_path + ('["bend_%.2d"]' % (i + 1))
-    
 
+
     for i, attr in enumerate(mt_chain.attr_names):
         neck_p = getattr(mt_chain, attr + "_p")
         neck_p.lock_location = True, True, True
@@ -264,17 +264,17 @@
         driver = fcurve.driver
         driver.type = 'SCRIPTED'
         driver.expression = "bend/bend_tot"
-        
+
         fcurve.modifiers.remove(0) # grr dont need a modifier
-        
 
+
         # add target
         tar = driver.targets.new()
         tar.name = "bend_tot"
         tar.id_type = 'OBJECT'
         tar.id = obj
         tar.rna_path = head_driver_path + ('["bend_tot"]')
-        
+
         tar = driver.targets.new()
         tar.name = "bend"
         tar.id_type = 'OBJECT'

Modified: trunk/blender/release/scripts/modules/rigify/palm.py
===================================================================
--- trunk/blender/release/scripts/modules/rigify/palm.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/modules/rigify/palm.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -85,7 +85,7 @@
         [pinky, ring... etc]
     '''
     arm = obj.data
-    
+
     palm_bone = arm.bones[orig_bone_name]
     palm_parent = palm_bone.parent
     palm_base = palm_bone.basename

Modified: trunk/blender/release/scripts/modules/rigify/spine.py
===================================================================
--- trunk/blender/release/scripts/modules/rigify/spine.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/modules/rigify/spine.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -110,7 +110,7 @@
         raise Exception("expected the ribcage to have only 1 child.")
 
     child = children[0]
-    
+
     bone_definition = [pelvis.name, ribcage.name, child.name]
     bone_definition.extend([child.name for child in child.children_recursive_basename])
     return bone_definition
@@ -389,7 +389,7 @@
     driver = fcurve.driver
     driver.type = 'SUM'
     fcurve.modifiers.remove(0) # grr dont need a modifier
-    
+
     for i in range(spine_chain_len - 1):
         tar = driver.targets.new()
         tar.name = target_names[i]
@@ -422,25 +422,25 @@
         driver = fcurve.driver
         driver.type = 'SCRIPTED'
         driver.expression = "bend/bend_tot"
-        
+
         fcurve.modifiers.remove(0) # grr dont need a modifier
-        
 
+
         # add target
         tar = driver.targets.new()
         tar.name = "bend_tot"
         tar.id_type = 'OBJECT'
         tar.id = obj
         tar.rna_path = rib_driver_path + ('["bend_tot"]')
-        
+
         tar = driver.targets.new()
         tar.name = "bend"
         tar.id_type = 'OBJECT'
         tar.id = obj
         tar.rna_path = rib_driver_path + ('["%s"]' % prop_name)
-            
 
 
+
     # original bone drivers
     # note: the first bone has a lot more constraints, but also this simple one is first.
     for i, attr in enumerate(mt_chain.attr_names):

Modified: trunk/blender/release/scripts/modules/rna_prop_ui.py
===================================================================
--- trunk/blender/release/scripts/modules/rna_prop_ui.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/modules/rna_prop_ui.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -217,9 +217,9 @@
 
         wm.invoke_props_popup(self, event)
         return ('RUNNING_MODAL',)
-        
 
 
+
 class WM_OT_properties_add(bpy.types.Operator):
     '''Internal use (edit a property path)'''
     bl_idname = "wm.properties_add"

Modified: trunk/blender/release/scripts/ui/space_dopesheet.py
===================================================================
--- trunk/blender/release/scripts/ui/space_dopesheet.py	2009-12-08 06:32:30 UTC (rev 25198)
+++ trunk/blender/release/scripts/ui/space_dopesheet.py	2009-12-08 07:11:43 UTC (rev 25199)
@@ -20,167 +20,167 @@
 
 
 class DOPESHEET_HT_header(bpy.types.Header):
-	bl_space_type = 'DOPESHEET_EDITOR'
+    bl_space_type = 'DOPESHEET_EDITOR'
 
-	def draw(self, context):
-		layout = self.layout
+    def draw(self, context):
+        layout = self.layout
 
-		st = context.space_data
+        st = context.space_data
 
-		row = layout.row(align=True)
-		row.template_header()
+        row = layout.row(align=True)
+        row.template_header()
 
-		if context.area.show_menus:
-			sub = row.row(align=True)
+        if context.area.show_menus:
+            sub = row.row(align=True)
 
-			sub.menu("DOPESHEET_MT_view")
-			sub.menu("DOPESHEET_MT_select")
+            sub.menu("DOPESHEET_MT_view")
+            sub.menu("DOPESHEET_MT_select")
 
-			if st.mode == 'DOPESHEET' or (st.mode == 'ACTION' and st.action != None):
-				sub.menu("DOPESHEET_MT_channel")
-			elif st.mode == 'GPENCIL':
-				# gpencil Channel menu
-				pass
+            if st.mode == 'DOPESHEET' or (st.mode == 'ACTION' and st.action != None):
+                sub.menu("DOPESHEET_MT_channel")
+            elif st.mode == 'GPENCIL':
+                # gpencil Channel menu
+                pass
 
-			if st.mode != 'GPENCIL':
-				sub.menu("DOPESHEET_MT_key")
+            if st.mode != 'GPENCIL':
+                sub.menu("DOPESHEET_MT_key")
 
-		layout.prop(st, "mode", text="")
-		layout.prop(st.dopesheet, "display_summary", text="Summary")
+        layout.prop(st, "mode", text="")
+        layout.prop(st.dopesheet, "display_summary", text="Summary")
 
-		if st.mode == 'DOPESHEET':
-			layout.template_dopesheet_filter(st.dopesheet)
-		elif st.mode == 'ACTION':
-			layout.template_ID(st, "action", new="action.new")
+        if st.mode == 'DOPESHEET':
+            layout.template_dopesheet_filter(st.dopesheet)
+        elif st.mode == 'ACTION':
+            layout.template_ID(st, "action", new="action.new")
 
-		if st.mode != 'GPENCIL':
-			layout.prop(st, "autosnap", text="")
+        if st.mode != 'GPENCIL':
+            layout.prop(st, "autosnap", text="")
 
-		row = layout.row(align=True)
-		row.operator("action.copy", text="", icon='ICON_COPYDOWN')
-		row.operator("action.paste", text="", icon='ICON_PASTEDOWN')
+        row = layout.row(align=True)
+        row.operator("action.copy", text="", icon='ICON_COPYDOWN')
+        row.operator("action.paste", text="", icon='ICON_PASTEDOWN')
 
 
 class DOPESHEET_MT_view(bpy.types.Menu):
-	bl_label = "View"
+    bl_label = "View"
 
-	def draw(self, context):
-		layout = self.layout
+    def draw(self, context):
+        layout = self.layout
 
-		st = context.space_data
+        st = context.space_data
 
-		layout.column()
+        layout.column()
 
-		layout.prop(st, "show_cframe_indicator")
-		layout.prop(st, "show_sliders")
-		layout.prop(st, "automerge_keyframes")
+        layout.prop(st, "show_cframe_indicator")
+        layout.prop(st, "show_sliders")
+        layout.prop(st, "automerge_keyframes")
 
-		if st.show_seconds:
-			layout.operator("anim.time_toggle", text="Show Frames")
-		else:
-			layout.operator("anim.time_toggle", text="Show Seconds")
+        if st.show_seconds:
+            layout.operator("anim.time_toggle", text="Show Frames")
+        else:
+            layout.operator("anim.time_toggle", text="Show Seconds")
 
-		layout.separator()
-		layout.operator("anim.previewrange_set")
-		layout.operator("anim.previewrange_clear")
-		layout.operator("action.previewrange_set")
+        layout.separator()
+        layout.operator("anim.previewrange_set")
+        layout.operator("anim.previewrange_clear")
+        layout.operator("action.previewrange_set")
 
-		layout.separator()
-		layout.operator("action.frame_jump")
-		layout.operator("action.view_all")
+        layout.separator()
+        layout.operator("action.frame_jump")
+        layout.operator("action.view_all")
 
-		layout.separator()

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list