From: azv Date: Tue, 17 Aug 2021 15:30:22 +0000 (+0300) Subject: Fix compilation error X-Git-Tag: V9_8_0a1~26^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=76b55ffb289153c1b2a6c5933a2d589e6d944943;p=modules%2Fshaper.git Fix compilation error --- 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); }