def resetSel(in_mousebutton, in_keymodifier): # Left and Middle click if in_mousebutton in [0, 1]: ani.applyAction(getModel(), RESET_ACTION_NAME, xsi.Selection) # Right click - Do nothing elif in_mousebutton == 2: return
def resetAll(in_mousebutton, in_keymodifier): # Left and Middle click if in_mousebutton in [0, 1]: ani.applyAction(getModel(), RESET_ACTION_NAME) # Right click - Do nothing elif in_mousebutton == 2: return import gear gear.log("hello")