-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable theia sensor file requirement
- Loading branch information
1 parent
c675fde
commit 62f2c4c
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- theia-git/src/theia/sfm/exif_reader.cc 2016-06-13 13:05:25.692643313 -0700 | ||
+++ theia-git/src/theia/sfm_new/exif_reader.cc 2016-06-13 13:05:09.894769792 -0700 | ||
@@ -94,8 +94,9 @@ | ||
|
||
std::ifstream ifs(sensor_width_file.c_str(), std::ios::in); | ||
if (!ifs.is_open()) { | ||
- LOG(FATAL) << "Cannot read the sensor width file from " | ||
- << sensor_width_file; | ||
+ //LOG(FATAL) << "Cannot read the sensor width file from " | ||
+ // << sensor_width_file; | ||
+ return; // We can run fine without the sensor width file, suppress this error. | ||
} | ||
|
||
while (!ifs.eof()) { |