X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_WorkshopListener.h;h=abc801ec1cdd67f1734cb3bacb74b7735acda377;hb=176403004ff97696f3c0b5f8bdf48692177fb34a;hp=0ad8c97875ddbbf52b6b2e08efddd38764fe9257;hpb=dc0cabde0516396f5f4458574d1d56c857478200;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_WorkshopListener.h b/src/XGUI/XGUI_WorkshopListener.h index 0ad8c9787..abc801ec1 100755 --- a/src/XGUI/XGUI_WorkshopListener.h +++ b/src/XGUI/XGUI_WorkshopListener.h @@ -71,7 +71,14 @@ protected: /// \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& theFirstVisualizedBody); + bool displayObject(ObjectPtr theObj); + + /// Answer if the viewer needed to be fit all after the object visualization + /// The condition is there is not shown objects and the object is a group or body result + /// \param theObject a shown object + /// \param theNbOfShownObjects a count of already shown objects in the viewer + /// \return true if fit all should be done + bool neededFitAll(ObjectPtr theObject, const int theNbOfShownObjects); /// Calls the module method of cusomize object for the feature of the current operation /// Perform cusomize if the force redisplay flag is true or the list of objects contains the