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