From 79eecef659f40d2c86333ca244fe472a5ad1a1d3 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Tue, 11 Jul 2023 09:00:52 +0100 Subject: [PATCH] Add scene to sim_config if not already created --- gprMax/model_build_run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gprMax/model_build_run.py b/gprMax/model_build_run.py index 3f621117..d138c330 100644 --- a/gprMax/model_build_run.py +++ b/gprMax/model_build_run.py @@ -260,6 +260,7 @@ class ModelBuildRun: # If there is no scene, process the hash commands if not scene: scene = Scene() + config.sim_config.scenes.append(scene) # Parse the input file into user objects and add them to the scene scene = parse_hash_commands(scene)