remove python api cruft from custom operator registration
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
from _bpy import ops as ops_module
|
||||
|
||||
# op_add = ops_module.add
|
||||
op_remove = ops_module.remove
|
||||
op_dir = ops_module.dir
|
||||
op_call = ops_module.call
|
||||
op_as_string = ops_module.as_string
|
||||
@@ -56,9 +55,6 @@ class bpy_ops(object):
|
||||
raise AttributeError(module)
|
||||
return bpy_ops_submodule(module)
|
||||
|
||||
def remove(self, pyop):
|
||||
op_remove(pyop)
|
||||
|
||||
def __dir__(self):
|
||||
|
||||
submodules = set()
|
||||
|
||||
Reference in New Issue
Block a user