Skip to content

Commit a36fb0f

Browse files
committed
Leave 1 input always connected - sync node would throw error
1 parent 88c306a commit a36fb0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pipeline/node/DynamicCalibrationNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void DynamicCalibration::buildInternal() {
133133
void DynamicCalibration::postBuildStage() {
134134
auto eraseIfUnused = [&](const std::string& name) {
135135
auto it = inputs.find({inputs.name, name});
136-
if(it != inputs.end() && !it->second.isConnected()) {
136+
if(it != inputs.end() && !it->second.isConnected() && inputs.size() > 1) {
137137
logger->trace("Ignoring unconnected DynamicCalibration input '{}'", name);
138138
inputs.erase(it);
139139
}

0 commit comments

Comments
 (0)