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.
1234567891011121314 |
- #Stefan Galleithner 20101229
- import nuke
- import nukescripts as ns
-
- def clearAllCaches():
- for n in nuke.allNodes():
- if n.Class() == "Read":
- n.knob('reload').execute()
- crrframe = nuke.frame()
- nuke.clearDiskCache()
- nuke.frame(crrframe)
- nuke.updateUI()
- #print (ns.cache_report(""))
- ns.cache_clear("")
|