[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1290] trunk/py/scripts/addons/ add_curve_torus_knots.py: hopefully the last one, moved the operator into the right place in ops so it can be called from console without error .

Florian Meyer florianfelix at web.de
Sat Dec 18 11:01:21 CET 2010


Revision: 1290
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1290
Author:   testscreenings
Date:     2010-12-18 11:01:21 +0100 (Sat, 18 Dec 2010)

Log Message:
-----------
hopefully the last one, moved the operator into the right place in ops so it can be called from console without error.

Modified Paths:
--------------
    trunk/py/scripts/addons/add_curve_torus_knots.py

Modified: trunk/py/scripts/addons/add_curve_torus_knots.py
===================================================================
--- trunk/py/scripts/addons/add_curve_torus_knots.py	2010-12-18 09:42:37 UTC (rev 1289)
+++ trunk/py/scripts/addons/add_curve_torus_knots.py	2010-12-18 10:01:21 UTC (rev 1290)
@@ -100,7 +100,7 @@
 
 class torus_knot_plus(bpy.types.Operator, AddObjectHelper):
     ''''''
-    bl_idname = "torus_knot_plus"
+    bl_idname = "curve.torus_knot_plus"
     bl_label = "Torus Knot +"
     bl_options = {'REGISTER', 'UNDO'}
     bl_description = "adds many types of knots"




More information about the Bf-extensions-cvs mailing list