mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-23 10:52:15 +00:00
FIX:revert offset when exit ObjColorDialog
jira: github 6344 Change-Id: Ia574876aa24fde7c7b958b02d928d1aef6f0633f (cherry picked from commit b852a7113f8926043cd7c49691b5b96768de1b32)
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
void set_layout_callback(LayoutChanggeCallback);
|
||||
void do_layout_callback();
|
||||
bool do_show(bool show);
|
||||
void clear_instance();
|
||||
void clear_instance_and_revert_offset();
|
||||
|
||||
private:
|
||||
wxBoxSizer *create_approximate_match_btn_sizer(wxWindow *parent);
|
||||
@@ -105,6 +105,8 @@ private:
|
||||
bool m_is_add_filament{false};
|
||||
unsigned char& m_first_extruder_id;
|
||||
std::vector<unsigned char> &m_filament_ids;
|
||||
|
||||
Slic3r::Vec3d m_thumbnail_offset;
|
||||
};
|
||||
|
||||
class ObjColorDialog : public Slic3r::GUI::DPIDialog
|
||||
|
||||
Reference in New Issue
Block a user