bpy.ops module/caller classes incorrectly had __keys__ rather then __slots__.

also added comments about texface drawing when theres no origindex.
This commit is contained in:
2012-12-06 03:09:06 +00:00
parent a864259d50
commit 7c2e4e28ba
2 changed files with 8 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ class BPyOpsSubMod(object):
eg. bpy.ops.object
"""
__keys__ = ("module",)
__slots__ = ("module",)
def __init__(self, module):
self.module = module
@@ -111,7 +111,7 @@ class BPyOpsSubModOp(object):
eg. bpy.ops.object.somefunc
"""
__keys__ = ("module", "func")
__slots__ = ("module", "func")
def _get_doc(self):
return op_as_string(self.idname())