Wednesday, October 17, 2007

frame display mel

//here's a handy mel script it's a frame display toggle - make it a shelf button or save it as frameDisplay.mel (omitting the last line if you do that) - it will make critiquing the anims easier for all of us

global proc frameDisplay()
{

int $hud = `headsUpDisplay -exists HUDFrameCount`;
if($hud == 1)
{
headsUpDisplay -rem HUDFrameCount;

}
else
{
headsUpDisplay -section 5 -block 1 -blockSize "small" -dfs "large" -ao 1 -l frame -command "currentTime -q;" -atr HUDFrameCount;

}

}

frameDisplay

No comments: