From: ouv Date: Thu, 13 Oct 2005 11:26:40 +0000 (+0000) Subject: Remove the exception throwing. X-Git-Tag: TG-D5-38-2003_D2005-20-12~169 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e982a05e73fe1b8132d4f15839878936cb91282;p=modules%2Fvisu.git Remove the exception throwing. --- diff --git a/src/PIPELINE/VISU_GaussPointsPL.cxx b/src/PIPELINE/VISU_GaussPointsPL.cxx index f339f45d..17bca0bf 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.cxx +++ b/src/PIPELINE/VISU_GaussPointsPL.cxx @@ -368,7 +368,7 @@ VISU_GaussPointsPL int* aMainImageSize = aMainImageData->GetDimensions(); int* anAlphaImageSize = anAlphaImageData->GetDimensions(); if(aMainImageSize[0] != anAlphaImageSize[0] || aMainImageSize[1] != anAlphaImageSize[1]) - throw std::runtime_error("GaussPoints_i::MakeTexture : aMainImageSize[0] != anAlphaImageSize[0] || aMainImageSize[1] != anAlphaImageSize[1]"); + return NULL; int aNbCompositeComponents = 4; vtkImageData* aCompositeImageData = vtkImageData::New();