tiny fix
This commit is contained in:
parent
2ed9b22123
commit
5d4d02dbea
@ -45,8 +45,6 @@ CamConfigurator::CamConfigurator(Pylon::DeviceInfoList_t &deviceList, QWidget *p
|
||||
connect(buttonbox, &QDialogButtonBox::accepted, this, &QDialog::accept);
|
||||
connect(buttonbox, &QDialogButtonBox::rejected, this, &QDialog::reject);
|
||||
vbox->addWidget(buttonbox);
|
||||
//this->setLayout(vbox);
|
||||
// qInfo() << "Create Camera configuration!";
|
||||
}
|
||||
|
||||
|
||||
@ -106,9 +104,6 @@ void CamConfigurator::modeChanged(int idx) {
|
||||
qDebug() << "Mode changed mode selection";
|
||||
stack->setCurrentIndex(0);
|
||||
}
|
||||
// stack->setCurrentIndex(idx);
|
||||
// TODO release camera?
|
||||
// orientation_combo->setEnabled(idx == 1);
|
||||
}
|
||||
|
||||
|
||||
|
@ -73,9 +73,13 @@ CameraLayout DualCamera::cameraLayout() {
|
||||
if (camera1Preview->device() == primary_device) {
|
||||
l.rois.push_back(camera1Preview->getRoi());
|
||||
l.rois.push_back(camera2Preview->getRoi());
|
||||
l.devices.push_back(camera1Preview->device().toStdString());
|
||||
l.devices.push_back(camera2Preview->device().toStdString());
|
||||
} else {
|
||||
l.rois.push_back(camera2Preview->getRoi());
|
||||
l.rois.push_back(camera1Preview->getRoi());
|
||||
l.devices.push_back(camera2Preview->device().toStdString());
|
||||
l.devices.push_back(camera1Preview->device().toStdString());
|
||||
}
|
||||
return l;
|
||||
}
|
||||
|
@ -610,8 +610,9 @@ void PylonRecorder::camerasetup() {
|
||||
std::cerr << d->result() << std::endl;
|
||||
std::cerr << "camera settings accepted" << std::endl;
|
||||
CameraLayout l = d->layout();
|
||||
std::cerr << l.layout << l.mode << l.rois.size() << l.devices.size() << std::endl;
|
||||
std::cerr << "camera settings accepted" << std::endl;
|
||||
|
||||
|
||||
delete d;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user