Documente Academic
Documente Profesional
Documente Cultură
/*
* Includes
*/
eval("source \"libSkin.mel\"; ") ;
/*
* globals
*/
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// UI Procs
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
/*
* cometTransferWeights() -
*/
global proc cometTransferWeights()
{
if (`window -ex cometTransferWeightsWin`)
{
showWindow cometTransferWeightsWin ;
return ;
}
formLayout -e
-af txFrom "top" 5
-an txFrom "bottom"
-af txFrom "left" 5
-an txFrom "right"
mainForm ;
showWindow cometTransferWeightsWin ;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
/*
* cTW_transferWeights() - Main wrapper
*/
global proc cTW_transferWeights()
{
string $fromStr = `textField -q -tx tfFrom` ;
string $jntsFrom[] ;
tokenize($fromStr, " \t\r\n", $jntsFrom) ; // Convert from string
to array
string $jntTo = `textField -q -tx tfTo` ;
string $skinCl = `textField -q -tx tfSkinClXfer` ;
// --------------------------------------------------------------------------