forked from shotgunsoftware/tk-config-default2
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Nuke project repo bug when working on network attached storage.
- Loading branch information
unknown
authored and
unknown
committed
Sep 4, 2020
1 parent
acda8b1
commit 12dff83
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# Netherlands Film Academy - Nuke standard plugins (init.py) | ||
# Netherlands Film Academy - Nuke Shotgun project plugins (init.py) | ||
# Initialize message | ||
print("Project config loaded") | ||
|
||
# NFA_Repository | ||
# Project_Repository | ||
dirname = os.path.dirname(os.path.abspath(__file__)) | ||
nuke.pluginAddPath(os.path.join(dirname, 'project_repo')) | ||
project_dir = os.path.join(dirname, 'project_repo') | ||
project_dir_win = project_dir.replace(os.sep, '/') | ||
|
||
nuke.pluginAddPath(project_dir_win) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters