示例#1
0
def run():
    global lt
    try:
        lt.close()
        lt.deleteLater()
    except:
        pass
    lt = MainUI(public_ctrls.get_maya_win())
    lt.show()
示例#2
0
 def create_new_project(self):
     global project_widget
     try:
         project_widget.close()
         project_widget.deleteLater()
     except:
         pass
     project_widget = ProjectWidget(public_ctrls.get_maya_win())
     project_widget.show()
示例#3
0
def run():
    global rsw_widget
    try:
        rsw_widget.close()
        rsw_widget.deleteLater()
    except:
        pass
    rsw_widget = RenderSettingsWidget(public_ctrls.get_maya_win())
    rsw_widget.show()
示例#4
0
def run():
    global mw
    try:
        mw.close()
        mw.deleteLater()
    except:
        pass
    mw = Cloth(public_ctrls.get_maya_win())
    mw.show()
示例#5
0
def run():
    global ahs
    try:
        ahs.close()
        ahs.deleteLater()
    except:
        pass
    ahs = AssignHairShader(public_ctrls.get_maya_win())
    ahs.show()
示例#6
0
 def main(cls):
     global cp
     try:
         cp.close()
         cp.deleteLater()
     except:
         pass
     cp = cls(public_ctrls.get_maya_win())
     cp.show()
示例#7
0
def run():
    global tx_widget
    try:
        tx_widget.close()
        tx_widget.deleteLater()
    except:
        pass
    tx_widget = TxWidget(public_ctrls.get_maya_win())
    tx_widget.show()
示例#8
0
 def show_ui(cls):
     if mc.window('mask', q=1, exists=1):
         mc.deleteUI('mask')
     nw = cls(public_ctrls.get_maya_win())
     nw.show()
示例#9
0
 def show_ui(cls):
     if cmds.window('Split Screen', q=1, ex=1):
         cmds.deleteUI('Split Screen')
     ss = SplitScreen(get_maya_win())
     ss.show()
示例#10
0
def run():
    if cmds.window(windowObject, q=True, exists=True):
        cmds.deleteUI(windowObject)
    sgc = ShaveGammaCorrection(public_ctrls.get_maya_win())
    sgc.show()