Exemplo n.º 1
0
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
Exemplo n.º 2
0
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
Exemplo n.º 3
0
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")
Exemplo n.º 4
0
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")