Salome HOME
Issue #948 Wrong display after Sketch edition
[modules/shaper.git] / src / XGUI / XGUI_WorkshopListener.h
index 16a0de8712c1b522f2ad8417ee4265fc3d1d1d88..14c2edbfd75f76e719787cb97603365c56d416c9 100755 (executable)
@@ -69,8 +69,10 @@ protected:
   /// Displaus object and fit all viewer if the object is first (update viewer will not be called)
   /// Asks the module whether the object can be displayed
   /// \param theObj an object
+  /// \param theFirstVisualizedBody an output state whether there are not object displayed in the view
+  /// and the displayed object is a body
   /// \return true if the object is displayed
-  bool displayObject(ObjectPtr theObj);
+  bool displayObject(ObjectPtr theObj, bool& theFirstVisualizedBody);
 
   /// Calls the module method of cusomize object for the feature of the current operation
   /// \return true if the object is modified