No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

our_clearAllCaches.py 320B

1234567891011121314
  1. #Stefan Galleithner 20101229
  2. import nuke
  3. import nukescripts as ns
  4. def clearAllCaches():
  5. for n in nuke.allNodes():
  6. if n.Class() == "Read":
  7. n.knob('reload').execute()
  8. crrframe = nuke.frame()
  9. nuke.clearDiskCache()
  10. nuke.frame(crrframe)
  11. nuke.updateUI()
  12. #print (ns.cache_report(""))
  13. ns.cache_clear("")