Ejemplo n.º 1
0
 def pasteAnimation(self, animData=None, pasteInPlace=True, onlySelectedNodes=None, *args):  
     cmds.waitCursor(state=True)   
     
     if not onlySelectedNodes:   onlySelectedNodes = cmds.menuItem("onlySelectedNodesMenu", query=True, checkBox=True)
     if not animData:            animData = aToolsMod.loadInfoWithUser("copyPasteAnim", "animData")    
     animMod.applyAnimData(animData, pasteInPlace, onlySelectedNodes, showProgress=True)
     
     cmds.waitCursor(state=False)
Ejemplo n.º 2
0
 def applyAnimData(self, animData):
     
     if len(animData) == 0 : return
     animData = self.blendAnimData(animData)  
     animMod.applyAnimData(animData, pasteInPlace=False, showProgress=True, status="aTools Animation Crash Recovery - Step 3/3 - Applying animation data...")