Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

init.py 621B

123456789101112131415161718192021222324252627
  1. # Copyright (c) 2009 The Foundry Visionmongers Ltd. All Rights Reserved.
  2. ## init.py
  3. ## loaded by nuke before menu.py
  4. import os
  5. # import kenv
  6. nuke.pluginAddPath('./gizmos')
  7. nuke.pluginAddPath('./icons')
  8. nuke.pluginAddPath('./ndk')
  9. # Paths
  10. nuke_path = os.getenv('NUKE_PATH')
  11. plugin_path = os.path.join(nuke_path, 'plugins')
  12. icon_path = os.path.join(nuke_path, 'icons')
  13. # Plugins
  14. nuke.pluginAppendPath(plugin_path, icon_path)
  15. # Needs to be loaded last?
  16. import kellerPluginCore
  17. kellerPluginCore.start( os.path.join( nuke_path ,"pythonplugins") )
  18. import cryptomatte_utilities
  19. cryptomatte_utilities.setup_cryptomatte()