Here is a MEL script that will create a little button in the top right corner to toggle on and off the thumbnails updates.
Off course this script with work in the current Maya session and will need to be reloaded every time, or you can set it up so that it is loaded automatically at startup.
setParent("MayaWindow|toolBar1|MainStatusLineLayout|formLayout5|flowLayout1");
button -label "HS" -ebg true -bgc 1 0 0 -w 20 -h 15 -command "tglThumbs" HSItem;
global proc tglThumbs()
{
if(`renderThumbnailUpdate -q` == 0 )
{
renderThumbnailUpdate true;
button -e -bgc 0 1 0 HSItem;
print "Update ON";}
else if (`renderThumbnailUpdate -q` == 1 ){
renderThumbnailUpdate false;
button -e -bgc 1 0 0 HSItem;
print "Update OFF";}
}
We have had some very useful assistance from different users who have sent in details of when and how the errors are occurring for them but since none of our staff have yet been able to replicate the problem ourselves progress on the solution has been slower than we would like.
Our store offers youall kinds of favourite products like Jordan Retro 1
Posted by: Jordan Retro 1 | 02/08/2010 at 04:59 AM
Button to disable thumbnails update in Hypershade (Python) http://mayastation.typepad.com/maya-station/2010/05/button-to-disable-thumbnails-update-in-hypershade-.html but there are comments closed. Sorry for posting here too. :)
You can use command:
cmds.evalDeferred("import thumbs")
in userSetup.py after rename script to thumbs.py.
Posted by: toxik | 29/05/2010 at 03:57 PM
Comments for the Python version of this script are closed, sorry for posting here.
Did you notice how, if you try the Python version, and you have Show Tooltip Help on, you cannot write
class myClass(object):
because the Script Editor will insist on adding a ( when you press return?
You get this:
class myClass(object):(
You have to click at the beginning of the next line to escape.
Posted by: THNKR | 28/05/2010 at 09:22 PM