Trees | Indices | Help |
|
---|
|
1 # Copyright (c) 2009 The Foundry Visionmongers Ltd. All Rights Reserved. 2 3 import nuke 4 5 # This is for testing that all plugins were compiled correctly7 tried = 0 8 failed = 0 9 p = nuke.plugins(nuke.ALL, "*."+nuke.PLUGIN_EXT) 10 for i in p: 11 # Ignore Alembic_In, since it isn't a nuke plugin. 12 # TODO - Needs to be moved a directory up so it doesn't show as a nuke plugin 13 if i.find("Alembic_In") != -1: 14 continue 15 16 tried += 1 17 print i 18 try: 19 try_load = nuke.load(i) 20 except: 21 print i, "failed to load." 22 failed += 1 23 if failed > 0: 24 print failed, "of", tried, "plugin(s) total did not load" 25 else: 26 print "All available binary plugins (",tried,") successfully loaded"27
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Feb 14 13:53:20 2020 | http://epydoc.sourceforge.net |