Auto color change: check overhangs lust from Preview when detecting auto color changes
+ fixed typo in equivalent_areas() + Added missed include
This commit is contained in:
parent
5990f05418
commit
a4ad4ff4a9
3 changed files with 7 additions and 6 deletions
|
@ -31,7 +31,7 @@ constexpr double epsilon() { return 0.0011; }
|
|||
bool equivalent_areas(const double& bottom_area, const double& top_area);
|
||||
|
||||
// return true if color change was detected
|
||||
bool check_color_change(PrintObject* object, size_t frst_layer_id, size_t layers_cnt,
|
||||
bool check_color_change(PrintObject* object, size_t frst_layer_id, size_t layers_cnt, bool check_overhangs,
|
||||
// what to do with detected color change
|
||||
// and return true when detection have to be desturbed
|
||||
std::function<bool(Layer*)> break_condition);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue