feat(nuke): KnobScripter added as backage not submodule

This commit is contained in:
Jakub Jezek 2020-01-20 17:55:18 +01:00
parent 752b30f8b7
commit f7f0fa5ed9
16 changed files with 4198 additions and 13 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "setup/nuke/nuke_path/KnobScripter-github"]
path = setup/nuke/nuke_path/KnobScripter-github
url = https://github.com/pypeclub/KnobScripter

@ -1 +0,0 @@
Subproject commit ada32b014470dd283ec52df09295e7b56c7e14b2

View file

@ -0,0 +1 @@
import knob_scripter

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,7 @@
import os
import sys
import atom_server
import KnobScripter
from pype.nuke.lib import (
writes_version_sync,
@ -21,12 +22,3 @@ nuke.addOnScriptSave(checkInventoryVersions)
nuke.addOnScriptSave(writes_version_sync)
log.info('Automatic syncing of write file knob to script version')
def adding_knobscripter_to_nukepath():
nuke_path_dir = os.path.dirname(__file__)
knobscripter_path = os.path.join(nuke_path_dir, "KnobScripter-github")
sys.path.append(knobscripter_path)
import KnobScripter
log.info('Adding `KnobScripter`')
adding_knobscripter_to_nukepath()