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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorLukas Matena <lukasmatena@seznam.cz>2018-02-27 10:56:11 +0300
committerLukas Matena <lukasmatena@seznam.cz>2018-02-27 10:56:11 +0300
commit3099c32d0805a6fff26929e9be3dcb27e50f9bfa (patch)
tree6e1f66b0f4fbae8bc695a039decdb8720b531ca7 /xs
parent5f5a59328b243e25439a7241ab8403e8570352f6 (diff)
GUI - reenabling rotation angle settings for the wipe tower (was disabled by the merge with master)
Diffstat (limited to 'xs')
-rw-r--r--xs/src/libslic3r/PrintConfig.cpp6
-rw-r--r--xs/src/slic3r/GUI/Tab.cpp3
2 files changed, 5 insertions, 4 deletions
diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp
index bc5d115c3..995dcee99 100644
--- a/xs/src/libslic3r/PrintConfig.cpp
+++ b/xs/src/libslic3r/PrintConfig.cpp
@@ -1732,9 +1732,9 @@ PrintConfigDef::PrintConfigDef()
def->default_value = new ConfigOptionFloat(15.);
def = this->add("wipe_tower_rotation_angle", coFloat);
- def->label = "Wipe tower rotation angle";
- def->tooltip = "Wipe tower rotation angle with respect to x-axis ";
- def->sidetext = "degrees";
+ def->label = _L("Wipe tower rotation angle");
+ def->tooltip = _L("Wipe tower rotation angle with respect to x-axis ");
+ def->sidetext = _L("degrees");
def->cli = "wipe-tower-rotation-angle=f";
def->default_value = new ConfigOptionFloat(0.);
diff --git a/xs/src/slic3r/GUI/Tab.cpp b/xs/src/slic3r/GUI/Tab.cpp
index b27e7b838..ebfa69eb5 100644
--- a/xs/src/slic3r/GUI/Tab.cpp
+++ b/xs/src/slic3r/GUI/Tab.cpp
@@ -446,6 +446,7 @@ void TabPrint::build()
optgroup->append_single_option_line("wipe_tower_y");
optgroup->append_single_option_line("wipe_tower_width");
optgroup->append_single_option_line("wipe_tower_per_color_wipe");
+ optgroup->append_single_option_line("wipe_tower_rotation_angle");
optgroup = page->new_optgroup(_L("Advanced"));
optgroup->append_single_option_line("interface_shells");
@@ -762,7 +763,7 @@ void TabPrint::update()
bool have_wipe_tower = m_config->opt_bool("wipe_tower");
vec_enable.resize(0);
- vec_enable = { "wipe_tower_x", "wipe_tower_y", "wipe_tower_width", "wipe_tower_per_color_wipe"};
+ vec_enable = { "wipe_tower_x", "wipe_tower_y", "wipe_tower_width", "wipe_tower_per_color_wipe", "wipe_tower_rotation_angle"};
for (auto el : vec_enable)
get_field(el)->toggle(have_wipe_tower);