FIX:add m_new_project_and_check_state flag

jira: STUDIO-14994
Change-Id: I068b18cfb29622de1641bc34c671d4710c1a07d3
(cherry picked from commit 670fb1764748e0d69cb2b4e657bfbd5c92daff9f)
This commit is contained in:
zhou.xu
2025-10-11 15:38:50 +08:00
committed by Noisyfox
parent f63cdc30e4
commit 0eca9eefb8
2 changed files with 9 additions and 1 deletions

View File

@@ -352,6 +352,7 @@ public:
bool is_multi_extruder_ams_empty();
// BBS
bool is_new_project_and_check_state() { return m_new_project_and_check_state; }
wxString get_project_name();
void update_all_plate_thumbnails(bool force_update = false);
void update_obj_preview_thumbnail(ModelObject *, int obj_idx, int vol_idx, std::vector<Slic3r::ColorRGBA> colors, int camera_view_angle_type);
@@ -924,6 +925,7 @@ private:
bool m_exported_file { false };
bool skip_thumbnail_invalid { false };
bool m_loading_project { false };
bool m_new_project_and_check_state{false};
std::string m_preview_only_filename;
int m_valid_plates_count { 0 };
int m_check_status = 0; // 0 not check, 1 check success, 2 check failed