Salome HOME
1. Projection should be hidden in the viewer. Incorrect case:
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Projection.h
index b9ae2611f049a1269254581afb075e1c52ef105b..85c6a8fb6b406cad280d01d01a435b058e2c1e9e 100644 (file)
@@ -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();