mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-29 22:47:17 +02:00
[ui] Fix Camera Init Group Index should stay the same at adding or removing CameraInit events
This commit is contained in:
parent
7221368f14
commit
60b067210b
1 changed files with 3 additions and 0 deletions
|
@ -607,6 +607,9 @@ class Reconstruction(UIGraph):
|
|||
if self.cameraInit is None or self.cameraInit not in cameraInits:
|
||||
self.cameraInit = cameraInits[0] if cameraInits else None
|
||||
|
||||
# Manually emit the signal to ensure the active CameraInit index is always up-to-date in the UI
|
||||
self.cameraInitChanged.emit()
|
||||
|
||||
def getCameraInitIndex(self):
|
||||
if not self._cameraInit:
|
||||
# No CameraInit node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue