[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [931] contrib/py/scripts/addons/ space_view3d_cursor_to_edge_intersection.py: == api fix ==

Florian Meyer florianfelix at web.de
Fri Aug 20 19:26:12 CEST 2010


Revision: 931
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=931
Author:   testscreenings
Date:     2010-08-20 19:26:11 +0200 (Fri, 20 Aug 2010)

Log Message:
-----------
== api fix ==
- fixed poll method

Modified Paths:
--------------
    contrib/py/scripts/addons/space_view3d_cursor_to_edge_intersection.py

Modified: contrib/py/scripts/addons/space_view3d_cursor_to_edge_intersection.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_cursor_to_edge_intersection.py	2010-08-20 10:25:45 UTC (rev 930)
+++ contrib/py/scripts/addons/space_view3d_cursor_to_edge_intersection.py	2010-08-20 17:26:11 UTC (rev 931)
@@ -121,8 +121,8 @@
     bl_idname = "view3d.snap_cursor_to_edge_intersection"
     bl_label = "Cursor to Edge Intersection"
 
-    @staticmethod
-    def poll(context):
+    @classmethod
+    def poll(cls, context):
         obj = context.active_object
         return obj != None and obj.type == 'MESH'
 




More information about the Bf-extensions-cvs mailing list