diff --git a/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs b/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs index 5d04db58d4d3f1fe1951caf7043827c057b46704..f26acf000000d84bacf99e436dfd2255cda310d3 100644 --- a/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs +++ b/VectoCore/VectoCore/Models/Simulation/Impl/SimulatorFactory/SimulatorFactory.cs @@ -31,6 +31,7 @@ using System; using System.Collections.Generic; +using System.Configuration; using System.IO; using System.Linq; using System.Reflection; @@ -71,11 +72,16 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl.SimulatorFactory { get { - + var factory = _followUpSimulatorFactoryCreator?.GetNextFactory(); + if (factory != null) { + factory.WriteModalResults = this.WriteModalResults; + //factory.SerializeVectoRunData = this.SerializeVectoRunData; + } + - return _followUpSimulatorFactoryCreator?.GetNextFactory(); + return factory; } }