Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-23 11:50:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-23 11:50:52 +0400
commitdab69c01a1fc22efa13c55918c541e7f948f7fdf (patch)
tree92f4e730dc7a283c7aa4e096218d005d02d9679c /release
parente0289ff6fc89c5e6c715b578a1a4722577485a6f (diff)
whitespace commit, tabs -> spaces
Diffstat (limited to 'release')
-rw-r--r--release/scripts/keyingsets/keyingsets_builtins.py318
1 files changed, 159 insertions, 159 deletions
diff --git a/release/scripts/keyingsets/keyingsets_builtins.py b/release/scripts/keyingsets/keyingsets_builtins.py
index bf5c66ad01d..2afc440892d 100644
--- a/release/scripts/keyingsets/keyingsets_builtins.py
+++ b/release/scripts/keyingsets/keyingsets_builtins.py
@@ -11,200 +11,200 @@ from keyingsets_utils import *
# Location
class BUILTIN_KSI_Location(bpy.types.KeyingSetInfo):
- bl_label = "Location"
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- generate = RKS_GEN_location
-
+ bl_label = "Location"
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ generate = RKS_GEN_location
+
# Rotation
class BUILTIN_KSI_Rotation(bpy.types.KeyingSetInfo):
- bl_label = "Rotation"
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- generate = RKS_GEN_rotation
-
+ bl_label = "Rotation"
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ generate = RKS_GEN_rotation
+
# Scale
class BUILTIN_KSI_Scaling(bpy.types.KeyingSetInfo):
- bl_label = "Scaling"
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- generate = RKS_GEN_scaling
+ bl_label = "Scaling"
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ generate = RKS_GEN_scaling
# ------------
-
+
# LocRot
class BUILTIN_KSI_LocRot(bpy.types.KeyingSetInfo):
- bl_label = "LocRot"
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- def generate(self, context, ks, data):
- # location
- RKS_GEN_location(self, context, ks, data)
- # rotation
- RKS_GEN_rotation(self, context, ks, data)
+ bl_label = "LocRot"
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ def generate(self, context, ks, data):
+ # location
+ RKS_GEN_location(self, context, ks, data)
+ # rotation
+ RKS_GEN_rotation(self, context, ks, data)
# LocScale
class BUILTIN_KSI_LocScale(bpy.types.KeyingSetInfo):
- bl_label = "LocScale"
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- def generate(self, context, ks, data):
- # location
- RKS_GEN_location(self, context, ks, data)
- # scale
- RKS_GEN_scaling(self, context, ks, data)
+ bl_label = "LocScale"
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ def generate(self, context, ks, data):
+ # location
+ RKS_GEN_location(self, context, ks, data)
+ # scale
+ RKS_GEN_scaling(self, context, ks, data)
# LocRotScale
class BUILTIN_KSI_LocRotScale(bpy.types.KeyingSetInfo):
- bl_label = "LocRotScale"
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- def generate(self, context, ks, data):
- # location
- RKS_GEN_location(self, context, ks, data)
- # rotation
- RKS_GEN_rotation(self, context, ks, data)
- # scale
- RKS_GEN_scaling(self, context, ks, data)
+ bl_label = "LocRotScale"
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ def generate(self, context, ks, data):
+ # location
+ RKS_GEN_location(self, context, ks, data)
+ # rotation
+ RKS_GEN_rotation(self, context, ks, data)
+ # scale
+ RKS_GEN_scaling(self, context, ks, data)
# RotScale
class BUILTIN_KSI_RotScale(bpy.types.KeyingSetInfo):
- bl_label = "RotScale"
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- def generate(self, context, ks, data):
- # rotation
- RKS_GEN_rotation(self, context, ks, data)
- # scaling
- RKS_GEN_scaling(self, context, ks, data)
-
+ bl_label = "RotScale"
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ def generate(self, context, ks, data):
+ # rotation
+ RKS_GEN_rotation(self, context, ks, data)
+ # scaling
+ RKS_GEN_scaling(self, context, ks, data)
+
# ------------
# Location
class BUILTIN_KSI_VisualLoc(bpy.types.KeyingSetInfo):
- bl_label = "Visual Location"
-
- insertkey_visual = True
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- generate = RKS_GEN_location
-
+ bl_label = "Visual Location"
+
+ insertkey_visual = True
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ generate = RKS_GEN_location
+
# Rotation
class BUILTIN_KSI_VisualRot(bpy.types.KeyingSetInfo):
- bl_label = "Visual Rotation"
-
- insertkey_visual = True
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- generate = RKS_GEN_rotation
+ bl_label = "Visual Rotation"
+
+ insertkey_visual = True
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ generate = RKS_GEN_rotation
# VisualLocRot
class BUILTIN_KSI_VisualLocRot(bpy.types.KeyingSetInfo):
- bl_label = "Visual LocRot"
-
- insertkey_visual = True
-
- # poll - use predefined callback for selected bones/objects
- poll = RKS_POLL_selected_items
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- def generate(self, context, ks, data):
- # location
- RKS_GEN_location(self, context, ks, data)
- # rotation
- RKS_GEN_rotation(self, context, ks, data)
+ bl_label = "Visual LocRot"
+
+ insertkey_visual = True
+
+ # poll - use predefined callback for selected bones/objects
+ poll = RKS_POLL_selected_items
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ def generate(self, context, ks, data):
+ # location
+ RKS_GEN_location(self, context, ks, data)
+ # rotation
+ RKS_GEN_rotation(self, context, ks, data)
# ------------
# Available
class BUILTIN_KSI_Available(bpy.types.KeyingSetInfo):
- bl_label = "Available"
-
- # poll - use predefined callback for selected objects
- # TODO: this should really check whether the selected object (or datablock)
- # has any animation data defined yet
- poll = RKS_POLL_selected_objects
-
- # iterator - use callback for selected bones/objects
- iterator = RKS_ITER_selected_item
-
- # generator - use callback for location
- generate = RKS_GEN_available
+ bl_label = "Available"
+
+ # poll - use predefined callback for selected objects
+ # TODO: this should really check whether the selected object (or datablock)
+ # has any animation data defined yet
+ poll = RKS_POLL_selected_objects
+
+ # iterator - use callback for selected bones/objects
+ iterator = RKS_ITER_selected_item
+
+ # generator - use callback for location
+ generate = RKS_GEN_available
###############################
classes = [
- BUILTIN_KSI_Location,
- BUILTIN_KSI_Rotation,
- BUILTIN_KSI_Scaling,
-
- BUILTIN_KSI_LocRot,
- BUILTIN_KSI_LocScale,
- BUILTIN_KSI_LocRotScale,
- BUILTIN_KSI_RotScale,
-
- BUILTIN_KSI_VisualLoc,
- BUILTIN_KSI_VisualRot,
- BUILTIN_KSI_VisualLocRot,
-
- BUILTIN_KSI_Available,
+ BUILTIN_KSI_Location,
+ BUILTIN_KSI_Rotation,
+ BUILTIN_KSI_Scaling,
+
+ BUILTIN_KSI_LocRot,
+ BUILTIN_KSI_LocScale,
+ BUILTIN_KSI_LocRotScale,
+ BUILTIN_KSI_RotScale,
+
+ BUILTIN_KSI_VisualLoc,
+ BUILTIN_KSI_VisualRot,
+ BUILTIN_KSI_VisualLocRot,
+
+ BUILTIN_KSI_Available,
]