mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-08 14:38:58 +08:00
ENH:Set the default nozzle diameter to 0.4
jira:[for nozzle] Change-Id: I74a5c9b0460046496b897eae3d9f917ac1b99052
This commit is contained in:
parent
b6154d4014
commit
924ba50bfc
@ -538,6 +538,8 @@ void PrinterPartsDialog::set_nozzle_type(wxCommandEvent& evt)
|
||||
nozzle_diameter_checkbox->Append(wxString::Format(_L("%.1f"), diameter_list[i]));
|
||||
}
|
||||
nozzle_diameter_checkbox->SetSelection(0);
|
||||
|
||||
|
||||
last_nozzle_type = type;
|
||||
set_nozzle_diameter(evt);
|
||||
}
|
||||
@ -577,7 +579,11 @@ bool PrinterPartsDialog::Show(bool show)
|
||||
CentreOnParent();
|
||||
|
||||
auto type = obj->nozzle_type;
|
||||
auto diameter = round(obj->nozzle_diameter * 10) / 10;
|
||||
auto diameter = 0.4f;
|
||||
|
||||
if (obj->nozzle_diameter > 0) {
|
||||
diameter = round(obj->nozzle_diameter * 10) / 10;
|
||||
}
|
||||
|
||||
nozzle_type_checkbox->Clear();
|
||||
nozzle_diameter_checkbox->Clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user