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:
authorYuSanka <yusanka@gmail.com>2019-05-02 10:54:18 +0300
committerYuSanka <yusanka@gmail.com>2019-05-02 10:54:18 +0300
commit88c9948c85a01474be7af47061931c9017e9a946 (patch)
treea73f3f2c8b56320ae425bff741d8f8beb791696d /src/slic3r/GUI/GUI_ObjectManipulation.cpp
parentb048669a3bf533ae0158ea9dd16bf6c6090165ea (diff)
Fixed typo
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectManipulation.cpp')
-rw-r--r--src/slic3r/GUI/GUI_ObjectManipulation.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
index bb6eec963..b8c37dcd0 100644
--- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp
+++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
@@ -66,7 +66,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
return;
wxGetApp().obj_list()->fix_through_netfabb();
- update_warning_icon_state(/*wxGetApp().obj_list()->get_mesh_errors_list()*/);
+ update_warning_icon_state(wxGetApp().obj_list()->get_mesh_errors_list());
});
return sizer;
@@ -364,17 +364,14 @@ void ObjectManipulation::emulate_kill_focus()
else
on_change(option, 0);
}
+#endif // __APPLE__
-void ObjectManipulation::update_warning_icon_state(/*const wxString& tooltip*/)
+void ObjectManipulation::update_warning_icon_state(const wxString& tooltip)
{
- const wxString& tooltip = wxGetApp().obj_list()->get_mesh_errors_list();
-
m_fix_throught_netfab_bitmap->SetBitmap(tooltip.IsEmpty() ? wxNullBitmap : m_manifold_warning_bmp.bmp());
m_fix_throught_netfab_bitmap->SetToolTip(tooltip);
}
-#endif // __APPLE__
-
void ObjectManipulation::reset_settings_value()
{
m_new_position = Vec3d::Zero();