Skip to content

Instantly share code, notes, and snippets.

@mattebb
Last active December 12, 2022 18:06
Show Gist options
  • Save mattebb/5217818 to your computer and use it in GitHub Desktop.
Save mattebb/5217818 to your computer and use it in GitHub Desktop.

Revisions

  1. mattebb renamed this gist Mar 21, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. mattebb created this gist Mar 21, 2013.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    if hou.updateModeSetting() == hou.updateMode.Manual:
    hou.setUpdateMode(hou.updateMode.AutoUpdate)
    elif hou.updateModeSetting() == hou.updateMode.AutoUpdate:
    hou.setUpdateMode(hou.updateMode.Manual)