mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Revert "Fix Compile Warnings (#5963)"
This reverts commit b83e16dbdd.
Found regressions like auto orientation didn't work anymore after this change, revert it
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "libslic3r/FlushVolCalc.hpp"
|
||||
#include "WipeTowerDialog.hpp"
|
||||
#include "BitmapCache.hpp"
|
||||
#include "GUI.hpp"
|
||||
#include "I18N.hpp"
|
||||
#include "GUI_App.hpp"
|
||||
#include "MsgDialog.hpp"
|
||||
@@ -734,6 +735,9 @@ void WipingPanel::update_warning_texts()
|
||||
static const wxColour g_warning_color = *wxRED;
|
||||
static const wxColour g_normal_color = *wxBLACK;
|
||||
|
||||
wxString multi_str = m_flush_multiplier_ebox->GetValue();
|
||||
float multiplier = wxAtof(multi_str);
|
||||
|
||||
bool has_exception_flush = false;
|
||||
for (int i = 0; i < edit_boxes.size(); i++) {
|
||||
auto& box_vec = edit_boxes[i];
|
||||
|
||||
Reference in New Issue
Block a user