From: apo Date: Mon, 6 Feb 2006 08:35:21 +0000 (+0000) Subject: Fix for Bug IPAL11511 X-Git-Tag: mergeto_trunk_07Feb06~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca642b619ffe2e40559283c336ccb0cb0a69f4a4;p=modules%2Fvisu.git 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) --- 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;