In my addon, I have a button that launches me an operator, and I want the same button gives me another operator (modal operator). It is possible to launch two operators with the same button? My modal operator :
def modal(self, context, event):
if event.type == 'RIGHTMOUSE':
...code...
return {'PASS_THROUGH'}
def execute(self, context):
wm = context.window_manager
wm.modal_handler_add(self)
return {'RUNNING_MODAL'}