ENH: refine filename when exporting gcode.3mf

Change-Id: Icace408c89f9d9da4695723ea8757ab023f85849
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-08-15 16:10:48 +08:00 committed by Lane.Wei
parent 2866e33304
commit 639bb98396
3 changed files with 50 additions and 9 deletions

View file

@ -74,7 +74,7 @@ public:
};
private:
PartPlateList* m_partplate_list;
PartPlateList* m_partplate_list {nullptr };
Plater* m_plater; //Plater reference, not own it
Model* m_model; //Model reference, not own it
PrinterTechnology printer_technology;
@ -507,7 +507,7 @@ public:
m_height_limit_mode = mode;
}
int get_curr_plate_index() { return m_current_plate; }
int get_curr_plate_index() const { return m_current_plate; }
PartPlate* get_curr_plate() { return m_plate_list[m_current_plate]; }
PartPlate* get_selected_plate();