From 05ef4b7fec259886699a4f61763b1f9ce3d63327 Mon Sep 17 00:00:00 2001 From: jasminium Date: Thu, 5 Sep 2019 12:39:46 +0100 Subject: [PATCH] moved fractal box builder --- gprMax/scene.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gprMax/scene.py b/gprMax/scene.py index 7ad32c7d..c1833124 100644 --- a/gprMax/scene.py +++ b/gprMax/scene.py @@ -22,11 +22,6 @@ class Scene: self.geometry_cmds = [] self.essential_cmds = [Domain, TimeWindow, Discretisation] - # fractal box commands have an additional nonuser object which - # process modifications - fbb = FractalBoxBuilder() - self.add(fbb) - def add(self, user_object): """Add the user object to the scene. @@ -97,6 +92,11 @@ class Scene: def create_internal_objects(self, G): + # fractal box commands have an additional nonuser object which + # process modifications + fbb = FractalBoxBuilder() + self.add(fbb) + # gprMax API presents the user with UserObjects in order to build # the internal Rx(), Cylinder() etc... objects. This function # essentially calls the UserObject.create() function in the correct