mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merged in feature/PYPE-266-nuke-frame-range-improve (pull request #114)
feat(nuke): cleaning Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
commit
febfd46b4d
2 changed files with 5 additions and 6 deletions
|
|
@ -92,13 +92,15 @@ def reload_config():
|
|||
"{}.templates".format(AVALON_CONFIG),
|
||||
"{}.nuke.actions".format(AVALON_CONFIG),
|
||||
"{}.nuke.templates".format(AVALON_CONFIG),
|
||||
"{}.nuke.menu".format(AVALON_CONFIG)
|
||||
"{}.nuke.menu".format(AVALON_CONFIG),
|
||||
"{}.nuke.lib".format(AVALON_CONFIG),
|
||||
):
|
||||
log.info("Reloading module: {}...".format(module))
|
||||
module = importlib.import_module(module)
|
||||
try:
|
||||
module = importlib.import_module(module)
|
||||
reload(module)
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
log.warning("Cannot reload module: {}".format(e))
|
||||
importlib.reload(module)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
import nuke
|
||||
n = nuke.createNode("Constant")
|
||||
print(n)
|
||||
Loading…
Add table
Add a link
Reference in a new issue