diff --git a/src/aliceVision/sfm/pipeline/expanding/LbaPolicyConnexity.cpp b/src/aliceVision/sfm/pipeline/expanding/LbaPolicyConnexity.cpp index c7490bb92a..99e71cecef 100644 --- a/src/aliceVision/sfm/pipeline/expanding/LbaPolicyConnexity.cpp +++ b/src/aliceVision/sfm/pipeline/expanding/LbaPolicyConnexity.cpp @@ -88,6 +88,11 @@ void LbaPolicyConnexity::setupIntrinsics(sfmData::SfMData & sfmData) for (auto & pi : sfmData.getIntrinsics()) { const auto & vec = _historyHandler->getFocalHistory(pi.first); + if (vec.size() == 0) + { + pi.second->setState(EEstimatorParameterState::REFINED); + continue; + } size_t lastGood = std::numeric_limits::max(); std::vector> filtered;