From 76b55ffb289153c1b2a6c5933a2d589e6d944943 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 17 Aug 2021 18:30:22 +0300 Subject: [PATCH] Fix compilation error --- .../FeaturesPlugin_InspectBoundingBox.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/FeaturesPlugin/FeaturesPlugin_InspectBoundingBox.cpp b/src/FeaturesPlugin/FeaturesPlugin_InspectBoundingBox.cpp index aed9de077..6f982ffb1 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_InspectBoundingBox.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_InspectBoundingBox.cpp @@ -21,7 +21,7 @@ #include -#include +#include #include @@ -174,15 +174,15 @@ void FeaturesPlugin_InspectBoundingBox::createBox() DocumentPtr aDoc = aSession->activeDocument(); if (aDoc.get()) { - myCreateFeature = aDoc->addFeature(FeaturesPlugin_CreateBoundingBox::ID()); + myCreateFeature = aDoc->addFeature(FeaturesPlugin_BoundingBox::ID()); } } //================================================================================================= void FeaturesPlugin_InspectBoundingBox::updateBox() { - myCreateFeature->boolean(FeaturesPlugin_CreateBoundingBox::COMPUTE_ID())->setValue(false); - myCreateFeature->selection(FeaturesPlugin_CreateBoundingBox::OBJECT_ID()) + myCreateFeature->boolean(FeaturesPlugin_BoundingBox::COMPUTE_ID())->setValue(false); + myCreateFeature->selection(FeaturesPlugin_BoundingBox::OBJECT_ID()) ->setValue(selection(OBJECT_ID())->context(), selection(OBJECT_ID())->value()); @@ -195,5 +195,5 @@ void FeaturesPlugin_InspectBoundingBox::updateBox() aValuesFeatures->setValue(anI,aValues->value(anI)); myCreateFeature->execute(); - myCreateFeature->boolean(FeaturesPlugin_CreateBoundingBox::COMPUTE_ID())->setValue(true); + myCreateFeature->boolean(FeaturesPlugin_BoundingBox::COMPUTE_ID())->setValue(true); } -- 2.39.2