Skip to content

Commit b643d64

Browse files
authored
Merge pull request #2435 from alicevision/fix/severalFixesSfmNodesAndCameraInit
Prevent updates of the latest SfM node when the graph's topology is dirty
2 parents a6d9623 + dc4891c commit b643d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshroom/ui/reconstruction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ def setActiveNodes(self, nodes):
10201020
nodesByCategory[category] = node
10211021
for category, node in nodesByCategory.items():
10221022
self.activeNodes.get(category).node = node
1023-
if category == 'sfm':
1023+
if category == 'sfm' and not self._graph.dirtyTopology:
10241024
self.setActiveNode(self.lastSfmNode())
10251025
for node in nodes:
10261026
if node is None:

0 commit comments

Comments
 (0)