From ca642b619ffe2e40559283c336ccb0cb0a69f4a4 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 6 Feb 2006 08:35:21 +0000 Subject: [PATCH] Fix for Bug IPAL11511 CRASH if to import not MED file in Post-Pro module. (to check, whether the MED converter instance is succesfully created or not) --- src/VISU_I/VISU_Result_i.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/VISU_I/VISU_Result_i.cc b/src/VISU_I/VISU_Result_i.cc index 63b10905..2a85df81 100644 --- a/src/VISU_I/VISU_Result_i.cc +++ b/src/VISU_I/VISU_Result_i.cc @@ -972,6 +972,9 @@ VISU::Result_i ::Build(SALOMEDS::SObject_ptr theSObject, CORBA::Boolean theIsAtOnce) { + if(!myInput) + return NULL; + if(IsDone()) return this; -- 2.39.2