示例#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")