mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
Fixed compilation warnings and a potential bug in MotionPlanner, as reported in #3054
This commit is contained in:
parent
7c7982d9f3
commit
f8d2c69713
7 changed files with 12 additions and 10 deletions
|
@ -459,6 +459,7 @@ class ConfigOptionEnumGeneric : public ConfigOption
|
|||
};
|
||||
|
||||
enum ConfigOptionType {
|
||||
coNone,
|
||||
coFloat,
|
||||
coFloats,
|
||||
coInt,
|
||||
|
@ -500,7 +501,8 @@ class ConfigOptionDef
|
|||
std::vector<std::string> enum_labels;
|
||||
t_config_enum_values enum_keys_map;
|
||||
|
||||
ConfigOptionDef() : multiline(false), full_width(false), readonly(false),
|
||||
ConfigOptionDef() : type(coNone),
|
||||
multiline(false), full_width(false), readonly(false),
|
||||
height(-1), width(-1), min(INT_MIN), max(INT_MAX) {};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue