]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Remove the exception throwing.
authorouv <ouv@opencascade.com>
Thu, 13 Oct 2005 11:26:40 +0000 (11:26 +0000)
committerouv <ouv@opencascade.com>
Thu, 13 Oct 2005 11:26:40 +0000 (11:26 +0000)
src/PIPELINE/VISU_GaussPointsPL.cxx

index f339f45db9316c324ff70cb4d6a58824f3d8b4b3..17bca0bf119dce74f5d1253beadb5b22434d9219 100644 (file)
@@ -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();