From: enk Date: Mon, 6 Feb 2006 07:19:26 +0000 (+0000) Subject: Fix for Bug IPAL11503: X-Git-Tag: mergeto_trunk_07Feb06~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e92c8352561ff70949035fc916cbb1a05a90ef30;p=modules%2Fvisu.git Fix for Bug IPAL11503: CRASH after trying to "Show..." animation, based on "Scalar map on Deformad shape". --- diff --git a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc index d96d41ca..22826afa 100644 --- a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc +++ b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc @@ -119,7 +119,7 @@ VISU::Storable* VISU::ScalarMapOnDeformedShape_i::Restore(const Storable::TResto SetScalarMeshName(VISU::Storable::FindValue(theMap,"myScalarMeshName")); SetScalarIteration(VISU::Storable::FindValue(theMap,"myScalarIteration").toInt()); SetScalarEntity(VISU::TEntity(VISU::Storable::FindValue(theMap,"myScalarEntity").toInt())); - SetScalarField(GetScalarFieldName().c_str(), + SetScalarField(GetScalarMeshName().c_str(), GetScalarFieldName().c_str(), GetScalarIteration(), GetScalarEntity());