Ejemplo n.º 1
0
def addToolsetsPanel():
    res = False
    if nuke.nodesSelected() == True:
        res = CreateToolsetsPanel(None, False).showModalDialog()
        #COMMENT: now force a rebuild of the menu
        refreshToolsetsMenu()
    else:
        nuke.message("No nodes are selected")
    return res
Ejemplo n.º 2
0
def addToolsetsPanel():
  res = False
  if nuke.nodesSelected() == True:
    res = CreateToolsetsPanel(None, False).showModalDialog()
    #COMMENT: now force a rebuild of the menu
    refreshToolsetsMenu()
  else:
    nuke.message("No nodes are selected")
  return res