Maya 2008 “Optimize Scene” bug fix
Quick fix for an annoying error: In Maya 2008, when you do an “Optimize Scene” to remove unused junk in your scene, you get an error message instead of a nice summary of what was cleaned-up. I found the way to fix this on this page: http://www.tgjay.com/htms/tutorial/mr4Maya9E.htm. Basically, all you need to do is open the following script:
C:\Program Files\Autodesk\Maya2008\scripts\startup\cleanUpScene.res.mel
And edit the lines 216 & 217 that say:
displayString -replace -value "- ^1s\n" m_cleanUpScene.kSummaryFmt;
displayString -replace -value "- ^1s\n" m_cleanUpScene.kSummaryFmt2;
Just replace them by those (as always, do a backup before!):
displayString -replace -value "^1s\n" m_cleanUpScene.kSummaryFmt;
displayString -replace -value "^1s\n" m_cleanUpScene.kSummaryFmt2;
That’s it! The bug’s gone. Now go and clean-up your scene… 😛
Ah cheers! I figured there was an issue in one of the scripts, but hell if I knew how to go about sorting it out!