From: apo Date: Thu, 10 May 2007 11:48:40 +0000 (+0000) Subject: Fix a crash when changing scalar field of ScalarMaponDeformedShape presentation to... X-Git-Tag: T_EDF_15278~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1132c468b71402940e51a9fa65de905a0ad157a0;p=modules%2Fvisu.git Fix a crash when changing scalar field of ScalarMaponDeformedShape presentation to another one and the new field has no timestamps with previous number --- diff --git a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc index 0b713f68..a3f960b6 100644 --- a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc +++ b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc @@ -183,11 +183,13 @@ void VISU::ScalarMapOnDeformedShape_i::SetTitle(const char* theTitle) std::strstream aStream; const VISU::TValField& aValField = myScalarField->myValField; const VISU::PValForTime aValForTime = aValField.find(myScalarIteration)->second; - aStream<myTime)<myTime)<