mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Fixed a typo for the last commit
This commit is contained in:
parent
2df069323c
commit
a690466dbf
2 changed files with 3 additions and 3 deletions
|
@ -1057,7 +1057,7 @@ void SLAPrint::fill_statistics()
|
||||||
const int fade_layers_cnt = 10; // [3;20]
|
const int fade_layers_cnt = 10; // [3;20]
|
||||||
|
|
||||||
const double width = m_printer_config.display_width.getFloat() / SCALING_FACTOR;
|
const double width = m_printer_config.display_width.getFloat() / SCALING_FACTOR;
|
||||||
const double height = m_printer_config.display_width.getFloat() / SCALING_FACTOR;
|
const double height = m_printer_config.display_height.getFloat() / SCALING_FACTOR;
|
||||||
const double display_area = width*height;
|
const double display_area = width*height;
|
||||||
|
|
||||||
double supports_volume = 0.0;
|
double supports_volume = 0.0;
|
||||||
|
|
|
@ -831,7 +831,7 @@ void Sidebar::show_sliced_info_sizer(const bool show)
|
||||||
wxString::Format("%.2f \n%.2f \n%.2f", (ps.objects_used_material + ps.support_used_material) / 1000,
|
wxString::Format("%.2f \n%.2f \n%.2f", (ps.objects_used_material + ps.support_used_material) / 1000,
|
||||||
ps.objects_used_material / 1000,
|
ps.objects_used_material / 1000,
|
||||||
ps.support_used_material / 1000) :
|
ps.support_used_material / 1000) :
|
||||||
wxString::Format("%.2f", ps.objects_used_material + ps.support_used_material / 1000);
|
wxString::Format("%.2f", (ps.objects_used_material + ps.support_used_material) / 1000);
|
||||||
p->sliced_info->SetTextAndShow(siMateril_unit, info_text, new_label);
|
p->sliced_info->SetTextAndShow(siMateril_unit, info_text, new_label);
|
||||||
|
|
||||||
p->sliced_info->SetTextAndShow(siCost, "N/A"/*wxString::Format("%.2f", ps.total_cost)*/);
|
p->sliced_info->SetTextAndShow(siCost, "N/A"/*wxString::Format("%.2f", ps.total_cost)*/);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue