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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-02-07 15:30:23 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-02-08 12:46:08 +0300
commit0ff800fd63a8664c5b728d044325783c6a46f22f (patch)
tree8acf0736795301fd2e568c7ede4cb35bfa4b0d00 /bone_selection_sets.py
parente5571d313e45b7ad1c117add83d38ec8fe2a1258 (diff)
Bone Selection Sets: formatting according to PEP-8
Diffstat (limited to 'bone_selection_sets.py')
-rw-r--r--bone_selection_sets.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/bone_selection_sets.py b/bone_selection_sets.py
index 988458dd..a811a068 100644
--- a/bone_selection_sets.py
+++ b/bone_selection_sets.py
@@ -31,18 +31,18 @@ bl_info = {
import bpy
from bpy.types import (
- Operator,
- Menu,
- Panel,
- UIList,
- PropertyGroup,
- )
+ Operator,
+ Menu,
+ Panel,
+ UIList,
+ PropertyGroup,
+)
from bpy.props import (
- StringProperty,
- IntProperty,
- EnumProperty,
- CollectionProperty,
- )
+ StringProperty,
+ IntProperty,
+ EnumProperty,
+ CollectionProperty,
+)
# Data Structure ##############################################################
@@ -134,7 +134,7 @@ class POSE_MT_create_new_selection_set(Menu):
def draw(self, context):
layout = self.layout
layout.operator("pose.selection_set_add_and_assign",
- text="New Selection Set")
+ text="New Selection Set")
class POSE_MT_selection_sets(Menu):
@@ -306,7 +306,7 @@ class POSE_OT_selection_set_assign(PluginOperator):
if not (arm.active_selection_set < len(arm.selection_sets)):
bpy.ops.wm.call_menu("INVOKE_DEFAULT",
- name="POSE_MT_selection_set_create")
+ name="POSE_MT_selection_set_create")
else:
bpy.ops.pose.selection_set_assign('EXEC_DEFAULT')
@@ -432,15 +432,15 @@ def register():
bpy.utils.register_class(cls)
bpy.types.Object.selection_sets = CollectionProperty(
- type=SelectionSet,
- name="Selection Sets",
- description="List of groups of bones for easy selection"
- )
+ type=SelectionSet,
+ name="Selection Sets",
+ description="List of groups of bones for easy selection"
+ )
bpy.types.Object.active_selection_set = IntProperty(
- name="Active Selection Set",
- description="Index of the currently active selection set",
- default=0
- )
+ name="Active Selection Set",
+ description="Index of the currently active selection set",
+ default=0
+ )
wm = bpy.context.window_manager
km = wm.keyconfigs.active.keymaps['Pose']