]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL11503:
authorenk <enk@opencascade.com>
Mon, 6 Feb 2006 07:19:26 +0000 (07:19 +0000)
committerenk <enk@opencascade.com>
Mon, 6 Feb 2006 07:19:26 +0000 (07:19 +0000)
CRASH after trying to "Show..." animation, based on "Scalar map on Deformad shape".

src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc

index d96d41ca5f0c02957e46e117afcf76df7e21f8be..22826afa05ab63ecdf37a056a3380d3c3f79f7ae 100644 (file)
@@ -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());