public
Last active

offset keys by 1 frame in selected object from current time. MEL script.

  • Download Gist
offsetAnim.mel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
string $selekcja[] = `ls -sl`;
string $oldSelekcja[] = $selekcja;
int $ssize = size($selekcja);
for($i=0;$i<$ssize;$i++)
{
timeSliderEditKeys addInbetween;
//select $selekcja[$i];
//print $i;
//print $selekcja[$i];
//print "\n";
select -d $selekcja[0];
$selekcja = `ls -sl`;
}
select $oldSelekcja;
 
//timeSliderEditKeys addInbetween;

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.