antiero / dotStudio

Nuke Studio Python Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cut Detector not working as expected

jeremy-cox opened this issue · comments

I was able to get the cut detector to run without throwing any errors by using the PySide2 branch and changing your hard coded username from /Users/ant/.nuke/Python/Startup/cut_detection/cutDetector.nk to ~/.nuke/Python/Startup/cut_detection/cutDetector.nk

After dragging footage onto the icon and hitting yes to the dialog, it runs through the progress and then nothing happens. Hitting the update button fills in the shot thumbnails and creates a new project containing a sequence with the footage in it. Is this the expected behavior? If so, I don't think Update isn't a good name for the button. Maybe "Create Sequence" or similar.

The main issue is that the newly created sequence doesn't include any edits, just the footage in one piece, same as if I had dragged it in.

MacOS 10.13.6
Nuke 11.2v3

Have managed to fix it by adding following lines after line 173 in CutDetector.py:

self.createSequenceKnob = self.cutDetector.knob("create_sequence")
self.createSequenceKnob.execute()

It presses the button "Create Sequence" in CutDetector gizmo.

Cheers =)

Nice, wanna make a Pull Request and I'll check it in!?

Nice, wanna make a Pull Request and I'll check it in!?

Actially it's my first time here at Github and I don't really know how to use Pull Request, don't be mad at me for that =))
I've just found out this great repo of yours and really happy about it. Thank you so much for that! I had some experience of using python in Nuke and Nuke Studio, so when I tried to use dot_studio I faced with this problem with CutDetector and managed to repair it. =)
And if I go fearther with checking those things and find some other bugs, I can post it by somehow. Or make a Pull Request when sort out how, I promise =)