X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Feature.h;h=418e6804aaa3f2d4388be2d9bda661505c8100f3;hb=b6dee14600299470ff26d198967fa48fb5bba99c;hp=4d0aa22c871d4acf5c8eac69fc2c8e55237b0606;hpb=c8dad4c61f1b846e74ce536f539822101205556a;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Feature.h b/src/SketchPlugin/SketchPlugin_Feature.h index 4d0aa22c8..418e6804a 100644 --- a/src/SketchPlugin/SketchPlugin_Feature.h +++ b/src/SketchPlugin/SketchPlugin_Feature.h @@ -17,7 +17,6 @@ #include class SketchPlugin_Sketch; -class Handle_AIS_InteractiveObject; /**\class SketchPlugin_Feature * \ingroup Plugins @@ -45,6 +44,13 @@ class SketchPlugin_Feature : public ModelAPI_Feature return false; } + /// Returns true if the feature and the feature results can be displayed + /// \return true + SKETCHPLUGIN_EXPORT virtual bool canBeDisplayed() const + { + return true; + } + /// Moves the feature /// \param theDeltaX the delta for X coordinate is moved /// \param theDeltaY the delta for Y coordinate is moved