Skip to content

Commit

Permalink
[ui] Update input to the KeyframeSelection node when a video is dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Apr 12, 2023
1 parent b964919 commit 76329b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshroom/ui/reconstruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def handleFilesDrop(self, drop, cameraInit):
if filesByType.videos:
boundingBox = self.layout.boundingBox()
keyframeNode = self.addNewNode("KeyframeSelection", position=Position(boundingBox[0], boundingBox[1] + boundingBox[3]))
keyframeNode.mediaPaths.value = filesByType.videos
keyframeNode.inputPaths.value = filesByType.videos
if len(filesByType.videos) == 1:
newVideoNodeMessage = "New node '{}' added for the input video.".format(keyframeNode.getLabel())
else:
Expand Down

0 comments on commit 76329b8

Please sign in to comment.