[Bf-blender-cvs] [2b029234bac] master: Cleanup: alternate fix for T66019

Campbell Barton noreply at git.blender.org
Fri Aug 9 16:46:23 CEST 2019


Commit: 2b029234bacde52eb42386d2f56a22f951d890f5
Author: Campbell Barton
Date:   Sat Aug 10 00:35:18 2019 +1000
Branches: master
https://developer.blender.org/rB2b029234bacde52eb42386d2f56a22f951d890f5

Cleanup: alternate fix for T66019

Prefer triple quoting to avoid having to escape quotes.

===================================================================

M	release/scripts/startup/keyingsets_builtins.py

===================================================================

diff --git a/release/scripts/startup/keyingsets_builtins.py b/release/scripts/startup/keyingsets_builtins.py
index 1132a09420e..e24cbcfd18e 100644
--- a/release/scripts/startup/keyingsets_builtins.py
+++ b/release/scripts/startup/keyingsets_builtins.py
@@ -199,8 +199,8 @@ class BUILTIN_KSI_BendyBones(KeyingSetInfo):
 
 # VisualLocation
 class BUILTIN_KSI_VisualLoc(KeyingSetInfo):
-    ("Insert a keyframe on each of the location channels, taking into account effects of constraints "
-     "and relationships")
+    """Insert a keyframe on each of the location channels, """ \
+    """taking into account effects of constraints and relationships"""
     bl_label = "Visual Location"
 
     bl_options = {'INSERTKEY_VISUAL'}
@@ -217,8 +217,8 @@ class BUILTIN_KSI_VisualLoc(KeyingSetInfo):
 
 # VisualRotation
 class BUILTIN_KSI_VisualRot(KeyingSetInfo):
-    ("Insert a keyframe on each of the rotation channels, taking into account effects of constraints "
-     "and relationships")
+    """Insert a keyframe on each of the rotation channels, """ \
+    """taking into account effects of constraints and relationships"""
     bl_label = "Visual Rotation"
 
     bl_options = {'INSERTKEY_VISUAL'}
@@ -235,8 +235,8 @@ class BUILTIN_KSI_VisualRot(KeyingSetInfo):
 
 # VisualScaling
 class BUILTIN_KSI_VisualScaling(KeyingSetInfo):
-    ("Insert a keyframe on each of the scale channels, taking into account effects of constraints "
-     "and relationships")
+    """Insert a keyframe on each of the scale channels, """ \
+    """taking into account effects of constraints and relationships"""
     bl_label = "Visual Scaling"
 
     bl_options = {'INSERTKEY_VISUAL'}
@@ -253,8 +253,8 @@ class BUILTIN_KSI_VisualScaling(KeyingSetInfo):
 
 # VisualLocRot
 class BUILTIN_KSI_VisualLocRot(KeyingSetInfo):
-    ("Insert a keyframe on each of the location and rotation channels, taking into account effects of constraints "
-     "and relationships")
+    """Insert a keyframe on each of the location and rotation channels, """ \
+    """taking into account effects of constraints and relationships"""
     bl_label = "Visual LocRot"
 
     bl_options = {'INSERTKEY_VISUAL'}
@@ -275,8 +275,8 @@ class BUILTIN_KSI_VisualLocRot(KeyingSetInfo):
 
 # VisualLocScale
 class BUILTIN_KSI_VisualLocScale(KeyingSetInfo):
-    ("Insert a keyframe on each of the location and scaling channels, taking into account effects of constraints "
-     "and relationships")
+    """Insert a keyframe on each of the location and scaling channels, """ \
+    """taking into account effects of constraints and relationships"""
     bl_label = "Visual LocScale"
 
     bl_options = {'INSERTKEY_VISUAL'}
@@ -297,8 +297,8 @@ class BUILTIN_KSI_VisualLocScale(KeyingSetInfo):
 
 # VisualLocRotScale
 class BUILTIN_KSI_VisualLocRotScale(KeyingSetInfo):
-    ("Insert a keyframe on each of the location, rotation and scaling channels, taking into account effects "
-     "of constraints and relationships")
+    """Insert a keyframe on each of the location, """ \
+    """rotation and scaling channels, taking into account effects of constraints and relationships"""
     bl_label = "Visual LocRotScale"
 
     bl_options = {'INSERTKEY_VISUAL'}
@@ -321,8 +321,8 @@ class BUILTIN_KSI_VisualLocRotScale(KeyingSetInfo):
 
 # VisualRotScale
 class BUILTIN_KSI_VisualRotScale(KeyingSetInfo):
-    ("Insert a keyframe on each of the rotation and scaling channels, taking into account effects of constraints "
-     "and relationships")
+    """Insert a keyframe on each of the rotation and scaling channels, """ \
+    """taking into account effects of constraints and relationships"""
     bl_label = "Visual RotScale"
 
     bl_options = {'INSERTKEY_VISUAL'}
@@ -369,8 +369,8 @@ class BUILTIN_KSI_Available(KeyingSetInfo):
 
 # All properties that are likely to get animated in a character rig
 class BUILTIN_KSI_WholeCharacter(KeyingSetInfo):
-    ("Insert a keyframe for all properties that are likely to get animated in a character rig "
-     "(useful when blocking out a shot)")
+    """Insert a keyframe for all properties that are likely to get animated in a character rig """ \
+    """(useful when blocking out a shot)"""
     bl_idname = ANIM_KS_WHOLE_CHARACTER_ID
     bl_label = "Whole Character"
 
@@ -530,8 +530,8 @@ class BUILTIN_KSI_WholeCharacter(KeyingSetInfo):
 
 
 class BUILTIN_KSI_WholeCharacterSelected(KeyingSetInfo):
-    ("Insert a keyframe for all properties that are likely to get animated in a character rig "
-     "(only selected bones)")
+    """Insert a keyframe for all properties that are likely to get animated in a character rig """ \
+    """(only selected bones)"""
     bl_idname = ANIM_KS_WHOLE_CHARACTER_SELECTED_ID
     bl_label = "Whole Character (Selected bones only)"



More information about the Bf-blender-cvs mailing list