Skip to content

Commit c0ddd93

Browse files
author
Brook Roberts
committed
Convert shot.id to string as required by bundle adjuster
1 parent 641e29a commit c0ddd93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opensfm/reconstruction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def bundle_local(graph, reconstruction, gcp, central_shot_id, config):
236236
for shot_id in interior:
237237
shot = reconstruction.shots[shot_id]
238238
g = shot.metadata.gps_position
239-
ba.add_position_prior(shot.id, g[0], g[1], g[2],
239+
ba.add_position_prior(str(shot.id), g[0], g[1], g[2],
240240
shot.metadata.gps_dop)
241241

242242
if config['bundle_use_gcp'] and gcp:

0 commit comments

Comments
 (0)