dotStudio icon indicating copy to clipboard operation
dotStudio copied to clipboard

Cut Detector not working as expected

Open jeremy-cox opened this issue 7 years ago • 3 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

jeremy-cox avatar Aug 28 '18 18:08 jeremy-cox

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 =)

somablues avatar Feb 04 '22 18:02 somablues

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

antiero avatar Feb 04 '22 19:02 antiero

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 =)

somablues avatar Feb 04 '22 20:02 somablues