From 84a5cd9f6267e744aa664432fb267301453cc97f Mon Sep 17 00:00:00 2001 From: mgn Date: Thu, 9 Apr 2015 15:31:56 +0300 Subject: [PATCH] 0002774: External 20697 Plot2D Stop Instead of extending of Plot2D input panel by means of "Stop" and "Cancel" buttons, it was decided to improve the performance of the procedure of displaying multiple curves. --- src/Plot2d/Plot2d_ViewFrame.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index 8d8969241..dbe6b99d5 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -648,9 +648,12 @@ void Plot2d_ViewFrame::displayCurve( Plot2d_Curve* curve, bool update ) aPCurve->setSymbolsColorData( curve->colorData(), curve->nbPoints() ); aPCurve->setSymbolsColorMap( curve->getColorMap() ); } - updateTitles(); + if ( update ) + { + updateTitles(); myPlot->replot(); + } emit curveDisplayed( curve ); } -- 2.39.2