diff --git a/gns3server/controller/topology.py b/gns3server/controller/topology.py index 403c8d7e..7cf61b46 100644 --- a/gns3server/controller/topology.py +++ b/gns3server/controller/topology.py @@ -57,6 +57,8 @@ def project_to_topology(project): "auto_start": project.auto_start, "auto_open": project.auto_open, "auto_close": project.auto_close, + "scene_width": project.scene_width, + "scene_height": project.scene_height, "topology": { "nodes": [], "links": [], diff --git a/tests/controller/test_topology.py b/tests/controller/test_topology.py index 80735cee..5a998354 100644 --- a/tests/controller/test_topology.py +++ b/tests/controller/test_topology.py @@ -37,6 +37,8 @@ def test_project_to_topology_empty(tmpdir): "auto_start": False, "auto_close": True, "auto_open": False, + "scene_width": 2000, + "scene_height": 1000, "revision": 5, "topology": { "nodes": [],