diff --git a/Common/processfields.cpp b/Common/processfields.cpp index 5e9aa0b..a6c16a7 100644 --- a/Common/processfields.cpp +++ b/Common/processfields.cpp @@ -75,6 +75,8 @@ string ProcessFields::GetFieldNameByType(DumpType type) void ProcessFields::InitProcess() { + if (Enabled==false) return; + CalcMeshPos(); } diff --git a/Common/processfields_td.cpp b/Common/processfields_td.cpp index 053da48..d950809 100644 --- a/Common/processfields_td.cpp +++ b/Common/processfields_td.cpp @@ -33,6 +33,8 @@ ProcessFieldsTD::~ProcessFieldsTD() void ProcessFieldsTD::InitProcess() { + if (Enabled==false) return; + ProcessFields::InitProcess(); if (m_fileType==HDF5_FILETYPE)