From 0e982a05e73fe1b8132d4f15839878936cb91282 Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 13 Oct 2005 11:26:40 +0000 Subject: [PATCH] Remove the exception throwing. --- src/PIPELINE/VISU_GaussPointsPL.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2