diff options
author | bubnikv <bubnikv@gmail.com> | 2018-11-08 22:18:40 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-11-08 22:18:40 +0300 |
commit | bbfbe88a5fdcda79efe5a9a58b96847b17a1db41 (patch) | |
tree | c45920a5572c56535d0e95e02ec8ae2eb93a5f64 /src/slic3r/GUI/GUI.cpp | |
parent | 811404d97a367939c83120cfc6ebb6b8b94a4f7d (diff) |
Integrated SLAPrint into background processing.
Fixed couple of compiler warnings.
Diffstat (limited to 'src/slic3r/GUI/GUI.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI.cpp b/src/slic3r/GUI/GUI.cpp index 172151141..b6136a15c 100644 --- a/src/slic3r/GUI/GUI.cpp +++ b/src/slic3r/GUI/GUI.cpp @@ -193,7 +193,7 @@ void change_opt_value(DynamicPrintConfig& config, const t_config_option_key& opt config.set_key_value(opt_key, new ConfigOptionBool(boost::any_cast<bool>(value))); break; case coBools:{ - ConfigOptionBools* vec_new = new ConfigOptionBools{ (bool)boost::any_cast<unsigned char>(value) }; + ConfigOptionBools* vec_new = new ConfigOptionBools{ boost::any_cast<unsigned char>(value) != 0 }; config.option<ConfigOptionBools>(opt_key)->set_at(vec_new, opt_index, 0); break;} case coInt: |