[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2847] trunk/py/scripts/addons/ space_view3d_copy_attributes.py: minor pep8 edits
Campbell Barton
ideasman42 at gmail.com
Sun Jan 1 11:23:21 CET 2012
Revision: 2847
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2847
Author: campbellbarton
Date: 2012-01-01 10:23:20 +0000 (Sun, 01 Jan 2012)
Log Message:
-----------
minor pep8 edits
Modified Paths:
--------------
trunk/py/scripts/addons/space_view3d_copy_attributes.py
Modified: trunk/py/scripts/addons/space_view3d_copy_attributes.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_copy_attributes.py 2012-01-01 10:22:31 UTC (rev 2846)
+++ trunk/py/scripts/addons/space_view3d_copy_attributes.py 2012-01-01 10:23:20 UTC (rev 2847)
@@ -407,6 +407,7 @@
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 @@
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 @@
('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)
More information about the Bf-extensions-cvs
mailing list