diff --git a/src/libslic3r/SupportMaterial.cpp b/src/libslic3r/SupportMaterial.cpp index cdbd4d25b..9ab0838a5 100644 --- a/src/libslic3r/SupportMaterial.cpp +++ b/src/libslic3r/SupportMaterial.cpp @@ -731,7 +731,7 @@ public: // Generate islands, so each island may be tested for overlap with m_island_samples. assert(std::abs(2 * offset_in_grid) < m_grid.resolution()); Polygons support_polygons_simplified = m_grid.contours_simplified(offset_in_grid, fill_holes); -#endif SUPPORT_USE_AGG_RASTERIZER +#endif // SUPPORT_USE_AGG_RASTERIZER ExPolygons islands = diff_ex(support_polygons_simplified, *m_trimming_polygons, false); diff --git a/src/slic3r/GUI/WipeTowerDialog.cpp b/src/slic3r/GUI/WipeTowerDialog.cpp index 329ee58ce..1c3c831b8 100644 --- a/src/slic3r/GUI/WipeTowerDialog.cpp +++ b/src/slic3r/GUI/WipeTowerDialog.cpp @@ -274,7 +274,7 @@ WipingPanel::WipingPanel(wxWindow* parent, const std::vector& matrix, con // gets the old one, and on_kill_focus resets the control to the old value. // As a workaround, we get the new value from $event->GetString and store // here temporarily so that we can return it from get_value() - spin_ctrl->Bind(wxEVT_TEXT, ([this, spin_ctrl](wxCommandEvent e) + spin_ctrl->Bind(wxEVT_TEXT, ([spin_ctrl](wxCommandEvent e) { long value; const bool parsed = e.GetString().ToLong(&value);