Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/slic3r/GUI/Plater.cpp')
-rw-r--r--src/slic3r/GUI/Plater.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp
index 991c0f7e2..fd9084d11 100644
--- a/src/slic3r/GUI/Plater.cpp
+++ b/src/slic3r/GUI/Plater.cpp
@@ -2281,16 +2281,17 @@ void Plater::priv::select_view_3D(const std::string& name)
void Plater::priv::select_next_view_3D()
{
- for (int i = 0; i < panels.size(); i++) {
- if (panels[i] == current_panel) {
- if (i + 1 == panels.size()) {
- set_current_panel(panels[0]);
- } else {
- set_current_panel(panels[i+1]);
- }
- return;
- }
- }
+ main_frame->next_preview_tab();
+ //for (int i = 0; i < panels.size(); i++) {
+ // if (panels[i] == current_panel) {
+ // if (i + 1 == panels.size()) {
+ // set_current_panel(panels[0]);
+ // } else {
+ // set_current_panel(panels[i+1]);
+ // }
+ // return;
+ // }
+ // }
}
void Plater::priv::collapse_sidebar(bool collapse)