示例#1
0
def lcTxT_repath_all(*args, **kwargs):
  ''' '''
  textures = pm.ls(type='file')
  if textures:
    newPath = pm.textField(prefix+'_textField_new_path', query=True, text=True)
    if newPath:
      texture.repathTextures(textures, newPath)
示例#2
0
def lcTxT_repath_selected(*args, **kwargs):
  ''' '''
  textures = pm.ls(sl=True)
  textures = texture.filterForTextures(textures)
  if textures:
    newPath = pm.textField(prefix+'_textField_new_path', query=True, text=True)
    if newPath:
      texture.repathTextures(textures, newPath)
def lcTxT_repath_all(*args, **kwargs):
    ''' '''
    textures = pm.ls(type='file')
    if textures:
        newPath = pm.textField(prefix + '_textField_new_path',
                               query=True,
                               text=True)
        if newPath:
            texture.repathTextures(textures, newPath)
def lcTxT_repath_selected(*args, **kwargs):
    ''' '''
    textures = pm.ls(sl=True)
    textures = texture.filterForTextures(textures)
    if textures:
        newPath = pm.textField(prefix + '_textField_new_path',
                               query=True,
                               text=True)
        if newPath:
            texture.repathTextures(textures, newPath)