From 254551bbb060b07c5bb7a262e68ec1e0318b2915 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 14 Oct 2008 06:28:06 +0000 Subject: [PATCH] Fix for ussue 19999 (EDF 829 VISU : Only the 1st Deformed Shape is good). --- src/CONVERTOR/VISU_Convertor_impl.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index e35b3626..53911e28 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -353,11 +353,18 @@ namespace const VISU::PMeshOnEntityImpl& theMeshOnEntity, const VISU::PProfileImpl& theProfile) { + // rnv fix for issue 19999: + // Throw exception in case if mesh on entity from profile is not equal + // input mesh on entity. This exception catch in tne VISU_Convertor_impl::GetTimeStampOnMesh + // function. + if(theProfile->myMeshOnEntity && theProfile->myMeshOnEntity != theMeshOnEntity.get()) + EXCEPTION(std::runtime_error,"GetMeshOnProfile >> theProfile->myMeshOnEntity != theMeshOnEntity.get()"); + if(theProfile->myIsVTKDone) return true; - if(theProfile->myMeshOnEntity && theProfile->myMeshOnEntity != theMeshOnEntity.get()) - return false; + // if(theProfile->myMeshOnEntity && theProfile->myMeshOnEntity != theMeshOnEntity.get()) + // return false; VISU::TTimerLog aTimerLog(MYDEBUG,"GetMeshOnProfile"); INITMSG(MYDEBUG,"GetMeshOnProfile - anEntity = "<myEntity<