Divide pad blueprint before its filtered.

Filtering may remove the outer pad and the division expects an outer part to be present.
This commit is contained in:
tamasmeszaros 2019-12-19 10:59:21 +01:00
parent 3b8d42a64f
commit 2feb8421e9

View File

@ -430,9 +430,11 @@ public:
ExPolygons fullpad = diff_ex(fullcvh, model_bp_sticks);
remove_redundant_parts(fullpad);
PadSkeleton divided = divide_blueprint(fullpad);
remove_redundant_parts(divided.outer);
remove_redundant_parts(divided.inner);
outer = std::move(divided.outer);
inner = std::move(divided.inner);
}