Fixed compilation on OSX

This commit is contained in:
bubnikv 2017-06-13 12:09:49 +02:00
parent a4992602ee
commit f7831240e1
5 changed files with 3 additions and 12 deletions

View file

@ -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()); }

View file

@ -148,7 +148,6 @@ bool Print::invalidate_state_by_config_options(const std::vector<t_config_option
steps_ignore.insert("use_firmware_retraction");
steps_ignore.insert("use_relative_e_distances");
steps_ignore.insert("use_volumetric_e");
steps_ignore.insert("set_and_wait_temperatures");
steps_ignore.insert("variable_layer_height");
steps_ignore.insert("wipe");
}

View file

@ -1537,12 +1537,6 @@ PrintConfigDef::PrintConfigDef()
def->cli = "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.";

View file

@ -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;
};