From 1132c468b71402940e51a9fa65de905a0ad157a0 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 10 May 2007 11:48:40 +0000 Subject: [PATCH] Fix a crash when changing scalar field of ScalarMaponDeformedShape presentation to another one and the new field has no timestamps with previous number --- src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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)<