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>2010-08-09 05:42:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-09 05:42:53 +0400
commit2384910b60c161971ba37d7a14874580def12ea0 (patch)
tree33b8174bd04426c6a5b2bed7c2eed12aeb74924c /add_mesh_BoltFactory
parent6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (diff)
update for changes in blender.
Diffstat (limited to 'add_mesh_BoltFactory')
-rw-r--r--add_mesh_BoltFactory/Boltfactory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/add_mesh_BoltFactory/Boltfactory.py b/add_mesh_BoltFactory/Boltfactory.py
index d4bc8bea..3bc20185 100644
--- a/add_mesh_BoltFactory/Boltfactory.py
+++ b/add_mesh_BoltFactory/Boltfactory.py
@@ -259,8 +259,8 @@ class add_mesh_bolt(bpy.types.Operator):
##### POLL #####
- @staticmethod
- def poll(context):
+ @classmethod
+ def poll(cls, context):
return context.scene != None
##### EXECUTE #####