mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
[nodes/ui] Fix ExportAnimatedCamera outputs for ScenePreview use
This commit is contained in:
parent
45fd86e51b
commit
926db43625
2 changed files with 10 additions and 2 deletions
|
@ -107,10 +107,18 @@ Based on the input image filenames, it will recognize the input video sequence t
|
|||
),
|
||||
desc.File(
|
||||
name="outputUndistorted",
|
||||
label="Undistorted Folder",
|
||||
description="Output undistorted folder.",
|
||||
value=desc.Node.internalFolder + "undistort/",
|
||||
group="", # exclude from command line
|
||||
uid=[],
|
||||
),
|
||||
desc.File(
|
||||
name="outputImages",
|
||||
label="Undistorted Images",
|
||||
description="Output undistorted images.",
|
||||
semantic="image",
|
||||
value=desc.Node.internalFolder + "undistort/" + "<INTRINSIC_ID>_<FILESTEM>.{undistortedImageTypeValue}",
|
||||
semantic="image",
|
||||
group="", # exclude from command line
|
||||
uid=[],
|
||||
),
|
||||
|
|
|
@ -247,7 +247,7 @@ class ViewpointWrapper(QObject):
|
|||
""" Update internal members depending on PrepareDenseScene or ExportAnimatedCamera. """
|
||||
# undistorted image path
|
||||
if self._activeNode_ExportAnimatedCamera.node:
|
||||
self._undistortedImagePath = FilepathHelper.resolve(FilepathHelper, self._activeNode_ExportAnimatedCamera.node.outputUndistorted.value, self._viewpoint)
|
||||
self._undistortedImagePath = FilepathHelper.resolve(FilepathHelper, self._activeNode_ExportAnimatedCamera.node.outputImages.value, self._viewpoint)
|
||||
self._principalPointCorrected = self._activeNode_ExportAnimatedCamera.node.correctPrincipalPoint.value
|
||||
elif self._activeNode_PrepareDenseScene.node:
|
||||
self._undistortedImagePath = FilepathHelper.resolve(FilepathHelper, self._activeNode_PrepareDenseScene.node.undistorted.value, self._viewpoint)
|
||||
|
|
Loading…
Add table
Reference in a new issue