diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-01 15:10:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-01 15:10:01 +0300 |
commit | c6519481e52b9b2b9f049a63487185cbba2ba965 (patch) | |
tree | 00ffd2db3d28f4e17cd7be423c129eb8e1c9d654 /space_view3d_copy_attributes.py | |
parent | 01b2f67943cd8580576917466531ab2c45519ad0 (diff) |
clear some pep8 complaints
Diffstat (limited to 'space_view3d_copy_attributes.py')
-rw-r--r-- | space_view3d_copy_attributes.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index ece2b482..05b64ac1 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -100,8 +100,8 @@ def getmat(bone, active, context, ignoreparent): ''' data_bone = context.active_object.data.bones[bone.name] #all matrices are in armature space unless commented otherwise - otherloc = active.matrix #final 4x4 mat of target, location. - bonemat_local = Matrix(data_bone.matrix_local) #self rest matrix + otherloc = active.matrix # final 4x4 mat of target, location. + bonemat_local = Matrix(data_bone.matrix_local) # self rest matrix if data_bone.parent: parentposemat = Matrix( context.active_object.pose.bones[data_bone.parent.name].matrix) @@ -253,7 +253,7 @@ class CopySelectedPoseConstraints(bpy.types.Operator): generic_copy(old_constraint, new_constraint) return {'FINISHED'} -pose_ops = [] #list of pose mode copy operators +pose_ops = [] # list of pose mode copy operators genops(pose_copies, pose_ops, "pose.copy_", pose_poll_func, pLoopExec) @@ -387,7 +387,7 @@ def obWei(ob, active, context): for i in range(0, len(active.vertex_groups)): groups = active.vertex_groups[i] vgroups_IndexName[groups.index] = groups.name - data = {} # vert_indices, [(vgroup_index, weights)] + data = {} # vert_indices, [(vgroup_index, weights)] for v in me_source.vertices: vg = v.groups vi = v.index @@ -728,7 +728,7 @@ def register(): kc = bpy.context.window_manager.keyconfigs['Blender'] km = kc.keymaps.get("Object Mode") if km is None: - km = kc.keymaps.new(name="Object Mode") + km = kc.keymaps.new(name="Object Mode") kmi = km.items.new('wm.call_menu', 'C', 'PRESS', ctrl=True) kmi.properties.name = 'VIEW3D_MT_copypopup' km = kc.keymaps.get("Pose") |