From: rnv Date: Tue, 14 Oct 2008 06:24:17 +0000 (+0000) Subject: Fix for ussue 19999 (EDF 829 VISU : Only the 1st Deformed Shape is good). X-Git-Tag: V4_1_0_maintainance_20081020~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab15c855485eaa00f4d4cdfbd48ca71ec4bcd750;p=modules%2Fvisu.git Fix for ussue 19999 (EDF 829 VISU : Only the 1st Deformed Shape is good). --- diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index c908ab0b..0bc77e74 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -356,11 +356,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<