diff --git a/libsrc/visualization/soldata.hpp b/libsrc/visualization/soldata.hpp index 4c846d62..9778c5ff 100644 --- a/libsrc/visualization/soldata.hpp +++ b/libsrc/visualization/soldata.hpp @@ -113,7 +113,7 @@ namespace netgen return 1; } - void SetMultiDimComponent (int mc) + virtual void SetMultiDimComponent (int mc) { if (mc >= GetNumMultiDimComponents()) mc = GetNumMultiDimComponents()-1; if (mc < 0) mc = 0;