/* This script contains procedures that supports for attribute sync between Sliders, attribute buttons and maya attributes. */ proc string mgp_getAttrSyncCommand(string $node, string $attrLongName) { return ("MGPickerAttrSyncer -s \""+$node+"\" \""+$attrLongName+"\";"); } /* global proc _MGP_evaluateAllAttrSyncCommands() { // To-Do: Do a performance pass in c++ to achieve a optimum sync scheduling system. global int $MGPICKER_startTime_refresh; $elapsedTime = `timerX -startTime $MGPICKER_startTime_refresh`; string $pattern = "*MGPickerAttrSyncer*"; if ($elapsedTime > 1) { $jobs = `scriptJob -listJobs`; for($i=0; $i