예제 #1
0
파일: synoptic.py 프로젝트: jeanim/gear
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
예제 #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
예제 #3
0
파일: synoptic.py 프로젝트: jeanim/gear
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")
예제 #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")