From c28abecd71346cbaa250f4c05e45bd3dd191ba03 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 29 Nov 2013 13:44:39 +0000 Subject: [PATCH] Profile object creation. --- src/HYDROCurveCreator/CurveCreator_Widget.cxx | 2 -- src/HYDROCurveCreator/CurveCreator_Widget.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2