From: apo Date: Wed, 27 Jun 2007 13:41:48 +0000 (+0000) Subject: To define dependencies between processing BuildEntities, BuildFields and BuildMinMax... X-Git-Tag: T_MULTIPR_INDUS_Dump_python~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2ef8b459e94142544fa62faf5eff5c06ef6fe685;p=modules%2Fvisu.git 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. --- 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");