Skip to content

Commit

Permalink
fix(nuke): update menu
Browse files Browse the repository at this point in the history
  • Loading branch information
beatreichenbach committed Jul 3, 2023
1 parent 529ad6b commit 1fe3538
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions nuke/menu.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nuke.menu('Nodes').addCommand('Realflare/Realflare', 'nuke.createNode("realflare")')
Binary file modified nuke/realflare.zip
Binary file not shown.
3 changes: 1 addition & 2 deletions nuke/realflare_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
setup.run()
task.setProgress(100)
del task
# lib_path = setup.lib_path
lib_path = r'D:\files\dev\027_flare\realflare\nuke\venv\Lib\site-packages'
lib_path = setup.lib_path
lib_path = lib_path.replace('\\', '/')
if lib_path not in nuke.pluginPath():
nuke.pluginAddPath(lib_path)
Expand Down
2 changes: 1 addition & 1 deletion realflare/api/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def flare(self, project: Project) -> Image:

def flare_starburst(self, project: Project) -> Image:
flare = self.flare(project)
array = flare.array
array = flare.array.copy()
args = flare.args

if project.flare.light.image_file_enabled:
Expand Down

0 comments on commit 1fe3538

Please sign in to comment.