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:
authorEnrico Turri <enricoturri@seznam.cz>2019-12-19 13:38:48 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-12-19 13:38:48 +0300
commitfeaccc557d4c1813ce186d9f48414cc3c0319644 (patch)
tree32b040bdbbc79e5f227fed4b524b01ea829660e1 /src/slic3r/GUI/BedShapeDialog.cpp
parent3b8d42a64f32455d701ee9be9eecca1dd9d925c1 (diff)
Partial revert of cc919c68b849a0b474f8b609ffe19f15dfbfbd88
Diffstat (limited to 'src/slic3r/GUI/BedShapeDialog.cpp')
-rw-r--r--src/slic3r/GUI/BedShapeDialog.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/slic3r/GUI/BedShapeDialog.cpp b/src/slic3r/GUI/BedShapeDialog.cpp
index 96a0a59cd..44f5e6021 100644
--- a/src/slic3r/GUI/BedShapeDialog.cpp
+++ b/src/slic3r/GUI/BedShapeDialog.cpp
@@ -61,9 +61,7 @@ void BedShapePanel::build_panel(const ConfigOptionPoints& default_pt, const Conf
{
m_shape = default_pt.values;
m_custom_texture = custom_texture.value.empty() ? NONE : custom_texture.value;
- std::replace(m_custom_texture.begin(), m_custom_texture.end(), '\\', '/');
m_custom_model = custom_model.value.empty() ? NONE : custom_model.value;
- std::replace(m_custom_model.begin(), m_custom_model.end(), '\\', '/');
auto sbsizer = new wxStaticBoxSizer(wxVERTICAL, this, _(L("Shape")));
sbsizer->GetStaticBox()->SetFont(wxGetApp().bold_font());
@@ -546,8 +544,6 @@ void BedShapePanel::load_texture()
return;
}
- std::replace(file_name.begin(), file_name.end(), '\\', '/');
-
wxBusyCursor wait;
m_custom_texture = file_name;
@@ -571,8 +567,6 @@ void BedShapePanel::load_model()
return;
}
- std::replace(file_name.begin(), file_name.end(), '\\', '/');
-
wxBusyCursor wait;
m_custom_model = file_name;