mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 23:32:10 +00:00
FIX: enhance filament_map auto manual behavior
1. auto mode dragdrop is not allowed 2. not display filament_map when there is no result in auto mode jira:none Change-Id: I0800e0d832e27fe459a17bb1aa829b5e72d0ee8f (cherry picked from commit 9ee85bef34aaabe7a4cef251f07e77f9af693a2f)
This commit is contained in:
@@ -105,6 +105,7 @@ private:
|
||||
bool m_slice_result_valid;
|
||||
bool m_apply_invalid {false};
|
||||
float m_slice_percent;
|
||||
bool m_has_auto_filament_map_result{false};
|
||||
|
||||
Print *m_print; //Print reference, not own it, no need to serialize
|
||||
GCodeProcessorResult *m_gcode_result;
|
||||
@@ -486,6 +487,9 @@ public:
|
||||
FilamentMapMode get_filament_map_mode();
|
||||
void set_filament_map_mode(const FilamentMapMode& mode);
|
||||
|
||||
bool has_auto_filament_map_reslut();
|
||||
void set_auto_filament_map_result(bool has_result);
|
||||
|
||||
std::vector<int> get_filament_maps();
|
||||
void set_filament_maps(const std::vector<int>& f_maps);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user