I'm calling one of my operators within another operator. The code worked fine until I tried it on a new file.
search for unknown operator 'MYPLUG_OT_update_list'
I'll try to simplify the code here
class login(bpy.types.Operator):
bl_idname = "myplug.login"
bl_label = "Login"
def execute(self,context):
....
bpy.ops.myplugin.update_list()
return {'FINISHED'}
class updateList(bpy.types.Operator):
bl_idname = "myplug.update_list"
bl_label = "UpdateList"
def execute(self,context):
....
return {'FINISHED'}
def register():
bpy.utils.register_module(__name__)
def unregister():
bpy.utils.unregister_module(__name__)
if __name__ == '__main__':
register()
Any ideas? I'm debating whether I need to preregister the dependent Operator or call it with some other convention.