Exemplo n.º 1
0
def loadWeightList(nCloth, attr, filePath=None, apply=True):
    '''
	'''
    # Load Weight List
    wt = WeightList()
    wt = wt.load(filePath)

    # Apply Weight List
    if apply: setVertexWeights(nCloth, attr, wt)

    # Return Result
    return wt
Exemplo n.º 2
0
def loadWeightList(nCloth,attr,filePath=None,apply=True):
	'''
	'''
	# Load Weight List
	wt = WeightList()
	wt = wt.load(filePath)
	
	# Apply Weight List
	if apply: setVertexWeights(nCloth,attr,wt)
	
	# Return Result
	return wt