mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-18 01:42:48 +00:00
ENH:the "distance" var should init to 0 in the release environment of Mac
jira: STUDIO-10967 Change-Id: I85b1e87dc80846f50c3bd29c7aa05f89c39d17de (cherry picked from commit 4b368cb2ecafd53ad1bbe61946bb9b1bafce64cb)
This commit is contained in:
@@ -37,15 +37,15 @@ enum MappingResult {
|
||||
|
||||
struct FilamentInfo
|
||||
{
|
||||
int id; // filament id = extruder id, start with 0.
|
||||
int id{0}; // filament id = extruder id, start with 0.
|
||||
std::string type;
|
||||
std::string color;
|
||||
std::string filament_id;
|
||||
std::string brand;
|
||||
float used_m;
|
||||
float used_g;
|
||||
int tray_id; // start with 0
|
||||
float distance;
|
||||
float used_m{0.f};
|
||||
float used_g{0.f};
|
||||
int tray_id{0}; // start with 0
|
||||
float distance{0.f};
|
||||
int ctype = 0;
|
||||
std::vector<std::string> colors = std::vector<std::string>();
|
||||
int mapping_result = 0;
|
||||
|
||||
Reference in New Issue
Block a user