]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
0021040: [CEA 428] Bug of visualization of node field on profile
authoreap <eap@opencascade.com>
Fri, 22 Oct 2010 10:42:12 +0000 (10:42 +0000)
committereap <eap@opencascade.com>
Fri, 22 Oct 2010 10:42:12 +0000 (10:42 +0000)
   in GetTimeStampOnMesh(), first try GetTimeStampOnProfile() with the
   main entity of a field (aMeshOnEntity) and then with an optional
   one (aVTKMeshOnEntity)

src/CONVERTOR/VISU_Convertor_impl.cxx

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