FIX: support blocker not work on vertical+horizontal faces

Jira: STUDIO-2088

Change-Id: I6803e8e90ebcc4c67d81473f60fdf97929011e12
(cherry picked from commit 738800c5af48ab8a2cde40b6f2b3c48a88bfee8b)
This commit is contained in:
MusangKing 2023-01-30 15:12:15 +08:00 committed by Lane.Wei
parent c07dcffe16
commit 92f594ea4a
1 changed files with 1 additions and 1 deletions

View File

@ -2830,7 +2830,7 @@ void PrintObject::project_and_append_custom_facets(
{ {
// BBS: Approve adding enforcer support on vertical faces // BBS: Approve adding enforcer support on vertical faces
SlabSlicingConfig config; SlabSlicingConfig config;
config.isVertical = true; config.isVertical = type == EnforcerBlockerType::ENFORCER ? true : false;
for (const ModelVolume* mv : this->model_object()->volumes) for (const ModelVolume* mv : this->model_object()->volumes)
if (mv->is_model_part()) { if (mv->is_model_part()) {