From 2ef8b459e94142544fa62faf5eff5c06ef6fe685 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 27 Jun 2007 13:41:48 +0000 Subject: [PATCH] To define dependencies between processing BuildEntities, BuildFields and BuildMinMax methods of VISU Convertor class. In other words, BuildFields could only be processed after BuildEntities and BuildMinMax can be only processed after BuildFields. --- src/CONVERTOR/VISU_Convertor_impl.cxx | 2 ++ src/CONVERTOR/VISU_MedConvertor.cxx | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index b71a5712..66f53771 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -599,6 +599,7 @@ VISU_Convertor* VISU_Convertor_impl ::BuildFields() { + BuildEntities(); return this; } @@ -606,6 +607,7 @@ VISU_Convertor* VISU_Convertor_impl ::BuildMinMax() { + BuildFields(); return this; } diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 5cb62105..62166ee3 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -1454,6 +1454,8 @@ VISU_MedConvertor if(myIsFieldsDone) return this; + VISU_Convertor_impl::BuildFields(); + TSetIsDone aSetIsDone(myIsFieldsDone); VISU::TTimerLog aTimerLog(MYDEBUG,"BuildFields"); @@ -1580,6 +1582,8 @@ VISU_MedConvertor if(myIsMinMaxDone) return this; + VISU_Convertor_impl::BuildMinMax(); + TSetIsDone aSetIsDone(myIsMinMaxDone); VISU::TTimerLog aTimerLog(MYDEBUG,"BuildMinMax"); -- 2.39.2