field-processings: fixed initializing disabled processes
parent
5b2e9b1ac9
commit
0bdd05fb3a
|
@ -75,6 +75,8 @@ string ProcessFields::GetFieldNameByType(DumpType type)
|
||||||
|
|
||||||
void ProcessFields::InitProcess()
|
void ProcessFields::InitProcess()
|
||||||
{
|
{
|
||||||
|
if (Enabled==false) return;
|
||||||
|
|
||||||
CalcMeshPos();
|
CalcMeshPos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,8 @@ ProcessFieldsTD::~ProcessFieldsTD()
|
||||||
|
|
||||||
void ProcessFieldsTD::InitProcess()
|
void ProcessFieldsTD::InitProcess()
|
||||||
{
|
{
|
||||||
|
if (Enabled==false) return;
|
||||||
|
|
||||||
ProcessFields::InitProcess();
|
ProcessFields::InitProcess();
|
||||||
|
|
||||||
if (m_fileType==HDF5_FILETYPE)
|
if (m_fileType==HDF5_FILETYPE)
|
||||||
|
|
Loading…
Reference in New Issue