Skip to content

Commit

Permalink
Remove var
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Aug 5, 2022
1 parent 02679f3 commit 0bbd16d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions stages/splitmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,11 @@ def process(self, args, outputs):
should_split = len(photos) > args.split

if should_split:
gps_info_available = False

# check for availability of either image_groups.txt (split-merge) or geotagged photos
image_groups_file = os.path.join(args.project_path, "image_groups.txt")
if 'split_image_groups_is_set' in args:
image_groups_file = os.path.abspath(args.split_image_groups)
if io.file_exists(image_groups_file) or reconstruction.has_geotagged_photos():
gps_info_available = True

if gps_info_available:
outputs['large'] = True
else:
log.ODM_WARNING('Could not perform split-merge as GPS information in photos or image_groups.txt is missing.')
Expand Down

0 comments on commit 0bbd16d

Please sign in to comment.