const VISU::PMeshOnEntityImpl& theMeshOnEntity,
const VISU::PProfileImpl& theProfile)
{
+ //rnv fix for bug IPAL18514 4x (CRASH after trying to build of presentation):
+ // throw exection in case if pointer on profile =0
+ if(!theProfile.get())
+ EXCEPTION(std::runtime_error,"GetMeshOnProfile: theProfile.get() == NULL");
+
// 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