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:
authorCampbell Barton <ideasman42@gmail.com>2012-01-01 14:23:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-01 14:23:20 +0400
commitf6dc4b39f67417ee023787c641ad158be737c214 (patch)
tree725aa570798384c3b70ba7ebc44837b7a8799027 /space_view3d_copy_attributes.py
parent7b00374ef198ea1801ac1e04ff98b949d80dd992 (diff)
minor pep8 edits
Diffstat (limited to 'space_view3d_copy_attributes.py')
-rw-r--r--space_view3d_copy_attributes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index 5134a2e9..85988724 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -407,6 +407,7 @@ def obGrp(ob, active, context):
grp.objects.link(ob)
return('INFO', "groups copied")
+
def obWei(ob, active, context):
me_source = active.data
me_target = ob.data
@@ -452,7 +453,7 @@ def obWei(ob, active, context):
vgroupIndex_weight[i][1], "REPLACE")
return('INFO', "weights copied")
-object_copies = (#('obj_loc', "Location",
+object_copies = ( # ('obj_loc', "Location",
#"Copy Location from Active to Selected", obLoc),
#('obj_rot', "Rotation",
#"Copy Rotation from Active to Selected", obRot),
@@ -503,6 +504,7 @@ object_copies = (#('obj_loc', "Location",
('obj_grp', "Group Links",
"Copy selected into active object's groups", obGrp))
+
@classmethod
def object_poll_func(cls, context):
return(len(context.selected_objects) > 1)