From f7831240e11e1759c87368fe86cb05eb7e30b0d7 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 13 Jun 2017 12:09:49 +0200 Subject: Fixed compilation on OSX --- xs/src/libslic3r/Model.hpp | 3 ++- xs/src/libslic3r/Print.cpp | 1 - xs/src/libslic3r/PrintConfig.cpp | 6 ------ xs/src/libslic3r/PrintConfig.hpp | 2 -- 4 files changed, 2 insertions(+), 10 deletions(-) (limited to 'xs') diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp index 047f23017..3ab717a6f 100644 --- a/xs/src/libslic3r/Model.hpp +++ b/xs/src/libslic3r/Model.hpp @@ -14,6 +14,7 @@ namespace Slic3r { +class Model; class ModelInstance; class ModelMaterial; class ModelObject; @@ -38,7 +39,7 @@ public: // Dynamic configuration storage for the object specific configuration values, overriding the global configuration. DynamicPrintConfig config; - Model* get_model() const { return m_model; }; + Model* get_model() const { return m_model; } void apply(const t_model_material_attributes &attributes) { this->attributes.insert(attributes.begin(), attributes.end()); } diff --git a/xs/src/libslic3r/Print.cpp b/xs/src/libslic3r/Print.cpp index b08e62066..a7153c181 100644 --- a/xs/src/libslic3r/Print.cpp +++ b/xs/src/libslic3r/Print.cpp @@ -148,7 +148,6 @@ bool Print::invalidate_state_by_config_options(const std::vectorcli = "use-volumetric-e!"; def->default_value = new ConfigOptionBool(false); - def = this->add("set_and_wait_temperatures", coBool); - def->label = "Use Set and Wait for changing bed temperatures"; - def->tooltip = "Check this to change gcode for temperature changes from not waiting (usually M140) to waiting (usually M190). Only necessary if you have a slow-to-heat bed and the first layer bed temp is lower than the other layers."; - def->cli = "set-and-wait-temperatures!"; - def->default_value = new ConfigOptionBool(false); - def = this->add("variable_layer_height", coBool); def->label = "Enable variable layer height feature"; def->tooltip = "Some printers or printer setups may have difficulties printing with a variable layer height. Enabled by default."; diff --git a/xs/src/libslic3r/PrintConfig.hpp b/xs/src/libslic3r/PrintConfig.hpp index d1e6308cf..9876befa8 100644 --- a/xs/src/libslic3r/PrintConfig.hpp +++ b/xs/src/libslic3r/PrintConfig.hpp @@ -359,7 +359,6 @@ public: ConfigOptionBool use_firmware_retraction; ConfigOptionBool use_relative_e_distances; ConfigOptionBool use_volumetric_e; - ConfigOptionBool set_and_wait_temperatures; ConfigOptionBool variable_layer_height; GCodeConfig(bool initialize = true) : StaticPrintConfig() { @@ -404,7 +403,6 @@ public: OPT_PTR(use_firmware_retraction); OPT_PTR(use_relative_e_distances); OPT_PTR(use_volumetric_e); - OPT_PTR(set_and_wait_temperatures); OPT_PTR(variable_layer_height); return NULL; }; -- cgit v1.2.3