calibrations: don't force Preview

This commit is contained in:
remi durand 2021-06-08 18:53:18 +02:00
parent 7711fbac15
commit b4fb97e527
7 changed files with 2 additions and 7 deletions

View File

@ -143,7 +143,7 @@ void CalibrationBedDialog::create_geometry(wxCommandEvent& event_args) {
//if(!plat->is_background_process_update_scheduled())
// plat->schedule_background_process();
plat->reslice();
plat->select_view_3D("Preview");
if (autocenter) {
//re-enable auto-center after this calibration.
gui_app->app_config->set("autocenter", "1");

View File

@ -164,7 +164,6 @@ void CalibrationBridgeDialog::create_geometry(std::string setting_to_test, bool
}
plat->reslice();
plat->select_view_3D("Preview");
if (autocenter) {
//re-enable auto-center after this calibration.

View File

@ -111,7 +111,7 @@ void CalibrationCubeDialog::create_geometry(std::string calibration_path) {
plat->reslice();
plat->select_view_3D("Preview");
}
} // namespace GUI

View File

@ -180,7 +180,6 @@ void CalibrationFlowDialog::create_geometry(float start, float delta) {
}
plat->reslice();
plat->select_view_3D("Preview");
if (autocenter) {
//re-enable auto-center after this calibration.

View File

@ -155,7 +155,6 @@ void CalibrationOverBridgeDialog::create_geometry(bool over_bridge) {
}
plat->reslice();
plat->select_view_3D("Preview");
if (autocenter) {
//re-enable auto-center after this calibration.

View File

@ -274,7 +274,6 @@ void CalibrationRetractionDialog::create_geometry(wxCommandEvent& event_args) {
}
plat->reslice();
plat->select_view_3D("Preview");
if (autocenter) {
//re-enable auto-center after this calibration.

View File

@ -179,7 +179,6 @@ void CalibrationTempDialog::create_geometry(wxCommandEvent& event_args) {
plat->reslice();
plat->select_view_3D("Preview");
}
} // namespace GUI