diff --git a/gprMax/contexts.py b/gprMax/contexts.py index 67bbaa48..1491658b 100644 --- a/gprMax/contexts.py +++ b/gprMax/contexts.py @@ -63,8 +63,9 @@ class Context: elif config.sim_config.general["solver"] == "opencl": print_opencl_info(config.sim_config.devices["devs"]) - # Clear list of model configs. It can be retained when gprMax is - # called in a loop, and want to avoid this. + # Clear list of scenes and model configs, which can be retained when + # gprMax is called in a loop, and want to avoid this. + config.sim_config.scenes = [] config.model_configs = [] for i in self.model_range: