From: nds Date: Fri, 29 Nov 2013 13:44:39 +0000 (+0000) Subject: Profile object creation. X-Git-Tag: BR_hydro_v_0_4~127 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c28abecd71346cbaa250f4c05e45bd3dd191ba03;p=modules%2Fhydro.git Profile object creation. --- diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.cxx b/src/HYDROCurveCreator/CurveCreator_Widget.cxx index c707f80a..8f624b06 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Widget.cxx @@ -389,8 +389,6 @@ void CurveCreator_Widget::setObjectsSelected(const AIS_ListOfInteractive& theLis //======================================================================= void CurveCreator_Widget::reset() { - // all local contexts should be closed if the viewer is not more used - setLocalPointContext( false, true ); } //======================================================================= diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.h b/src/HYDROCurveCreator/CurveCreator_Widget.h index f07dde23..7d8d1ee4 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.h +++ b/src/HYDROCurveCreator/CurveCreator_Widget.h @@ -66,6 +66,8 @@ public: int changeInteractionStyle( int theStyle ); void setObjectsSelected(const AIS_ListOfInteractive& theList); + void reset(); + //! Return unique section name std::string getUniqSectionName(CurveCreator_ICurve* theCurve) const;