]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
0021040: [CEA 428] Bug of visualization of node field on profile V5_1_5rc1
authoreap <eap@opencascade.com>
Mon, 25 Oct 2010 15:02:19 +0000 (15:02 +0000)
committereap <eap@opencascade.com>
Mon, 25 Oct 2010 15:02:19 +0000 (15:02 +0000)
   roll back the previous modif

src/CONVERTOR/VISU_Convertor_impl.cxx

index dea0efa4fa41c57ed71efd68c88a4ad37674f96d..40dddf27f4bf216e711b792b366474a03f28d98e 100644 (file)
@@ -940,21 +940,21 @@ VISU_Convertor_impl
       vtkUnstructuredGrid* anOutput = NULL;
       try{
         anOutput = GetTimeStampOnProfile(aMesh,
-                                         aMeshOnEntity,
+                                         aVTKMeshOnEntity,
                                          aField,
                                          aValForTime,
                                          anUnstructuredGridIDMapper,
                                          aValForTime->myProfile,
-                                         aVTKMeshOnEntity->myEntity);
+                                         aMeshOnEntity->myEntity);
       }catch(std::exception& exc){
         MSG(MYDEBUG,"Follow exception was occured :\n"<<exc.what());
         anOutput = GetTimeStampOnProfile(aMesh,
-                                         aVTKMeshOnEntity,
+                                         aMeshOnEntity,
                                          aField,
                                          aValForTime,
                                          anUnstructuredGridIDMapper,
                                          aValForTime->myProfile,
-                                         aMeshOnEntity->myEntity);
+                                         aVTKMeshOnEntity->myEntity);
       }
 
       anUnstructuredGridIDMapper->CopyStructure( aMesh );