Walled off generate_support_material()

This commit is contained in:
Joseph Lenox 2018-07-17 15:26:45 -05:00
parent e5329b1e9f
commit 38cc8e2d6d
2 changed files with 5 additions and 2 deletions

View File

@ -137,8 +137,10 @@ class PrintObject
SupportMaterial* _support_material();
#ifndef SLIC3RXS
/// Initialize and generate support material.
void generate_support_material();
#endif // SLIC3RXS
Flow _support_material_flow(FlowRole role = frSupportMaterial);
size_t support_layer_count() const;

View File

@ -1146,7 +1146,7 @@ PrintObject::_support_material_flow(FlowRole role)
return support_flow;
}
#ifndef SLIC3RXS
void
PrintObject::generate_support_material()
{
@ -1181,4 +1181,5 @@ PrintObject::generate_support_material()
print->status_cb(85, stats.str().c_str());
}
#endif // SLIC3RXS
}