X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Projection.h;h=85c6a8fb6b406cad280d01d01a435b058e2c1e9e;hb=21a0c85b52bb93f94680e2342370764e6510e387;hp=b9ae2611f049a1269254581afb075e1c52ef105b;hpb=947de864e5ab5bb127e34c316b9ac37a5418cc4b;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Projection.h b/src/SketchPlugin/SketchPlugin_Projection.h index b9ae2611f..85c6a8fb6 100644 --- a/src/SketchPlugin/SketchPlugin_Projection.h +++ b/src/SketchPlugin/SketchPlugin_Projection.h @@ -45,9 +45,12 @@ public: virtual bool isFixed() { return true; } - /// Returns true if object must be displayed in the viewer - virtual bool isDisplayed() - { return false; } + /// Returns true if the feature and the feature results can be displayed. + /// \return false + SKETCHPLUGIN_EXPORT virtual bool canBeDisplayed() const + { + return false; + } /// Creates a new part document if needed SKETCHPLUGIN_EXPORT virtual void execute();