Problem summary
Reconnecting clips causes the clip frame ranges to change and it cannot be undone
This happens on single frames or any frame range which is not all the available frames
Customer reported version
hiero.13.1v3
Customer reported platform
centos7
Steps to reproduce
Case 1, single frames
1) Open NukeStudio/Hiero
2) Import 5 frames from part of a sequence:
3) Add those frames to the timeline
4) Select the clips>Right Click>Clips>Reconnect Media...
5) Navigate to the directory the frames are in, then press Open and Press OK for the Reconnect Options
6) Scrub through the timeline, each frame will now show the first frame of the full sequence, and the Properties show the frame range has changed:
7) Press Undo multiple times, the frame range does not change back
Case 2, shorter frame range
1) Open NukeStudio/Hiero
2) Import a full image sequence
3) Double click to open the properties, and change the Original Range to something shorter than the full clip sequence
4) Add the clip to the timeline
5) Select the clips>Right Click>Clips>Reconnect Media...
6) Navigate to the directory the frames are in, then press Open and press OK for the Reconnect Options
7) Check the properties, it will now have a different frame range
8) Press Undo multiple times, the frame range does not change back
Expected behaviour
For the frame range to stay the same after reconnecting and the change to be undoable.
Actual behaviour
The frame range on the clips changes after reconnecting the media, and you can't undo the change
Workaround
Use this python code to reconnect clips instead of the GUI funtion:
from PySide2.QtCore import QTimer searchPath = hiero.ui.openFileBrowser("Choose directory to search for media", mode=2)[0] for clip in hiero.ui.getTimelineEditor(hiero.ui.activeSequence()).selection(): scrIn = clip.source().sourceIn() scrOut = clip.source().sourceOut() sourceIn = clip.sourceIn() sourceOut = clip.sourceOut() clip.reconnectMedia(searchPath) clip.source().setFrameRange(scrIn, scrOut) clip.setSourceIn(sourceIn) clip.setSourceOut(sourceOut)
Reproduced by support
This bug has been reproduced in:
NukeStudio 13.1v3 - Windows 10, macOS 11, CentOS 7
NukeStudio 12.0v1 - Windows 10
NukeStudio 9.0v1 - Windows 10, macOS 11 *Case 2 could not be tested as this was before Clip properties were accessible.
Earliest version tested
NukeStudio 9.0v1 - This issue appears to be in all versions of the product