[Bf-extensions-cvs] [0ff800fd] master: Bone Selection Sets: formatting according to PEP-8
Sybren A. Stüvel
noreply at git.blender.org
Thu Feb 8 11:02:47 CET 2018
Commit: 0ff800fd63a8664c5b728d044325783c6a46f22f
Author: Sybren A. Stüvel
Date: Wed Feb 7 13:30:23 2018 +0100
Branches: master
https://developer.blender.org/rBA0ff800fd63a8664c5b728d044325783c6a46f22f
Bone Selection Sets: formatting according to PEP-8
===================================================================
M bone_selection_sets.py
===================================================================
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']
More information about the Bf-extensions-cvs
mailing list