From cb20031c359afab1263f44e06f034cd86634c120 Mon Sep 17 00:00:00 2001 From: smh Date: Fri, 14 May 2004 11:18:24 +0000 Subject: [PATCH] PAL5847 --- src/VISU_I/VISU_Result_i.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VISU_I/VISU_Result_i.cc b/src/VISU_I/VISU_Result_i.cc index 0438ffff..3fcdc2b1 100644 --- a/src/VISU_I/VISU_Result_i.cc +++ b/src/VISU_I/VISU_Result_i.cc @@ -420,6 +420,7 @@ VISU::Storable* VISU::Result_i::Create(SALOMEDS::SObject_ptr theMedSObject){ try{ myInput = CreateMEDConvertor(theMedSObject); if(myInput == NULL) return NULL; + mySourceId = eComponent; string aCompDataType = GetComponentDataType(theMedSObject); myFileInfo.setFile(aCompDataType.c_str()); myName = ::GenerateName("aResult").latin1(); @@ -438,6 +439,7 @@ VISU::Storable* VISU::Result_i::Create(SALOME_MED::FIELD_ptr theField){ try{ myInput = CreateMEDFieldConvertor(theField); if(myInput == NULL) return NULL; + mySourceId = eComponent; string aCompDataType = "MED"; myFileInfo.setFile(aCompDataType.c_str()); myInitFileName = aCompDataType; -- 2.39.2