diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 4de3244a..51a5dfea 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -5264,7 +5264,9 @@ namespace netgen std::lock_guard guard(buildsearchtree_mutex); // check again to see if some other thread built while waiting for lock if (elementsearchtreets[dim] == GetTimeStamp()) return; - + + elementsearchtreets[dim] = GetTimeStamp(); + PrintMessage (4, "Rebuild element searchtree dim " + ToString(dim));