Cleanup: use staticmethods

This commit is contained in:
Campbell Barton
2015-06-07 17:40:39 +10:00
parent bf010c4a15
commit 404f9ddc37
7 changed files with 33 additions and 18 deletions

View File

@@ -579,7 +579,8 @@ class MakeDupliFace(Operator):
bl_label = "Make Dupli-Face"
bl_options = {'REGISTER', 'UNDO'}
def _main(self, context):
@staticmethod
def _main(context):
from mathutils import Vector
SCALE_FAC = 0.01