From: Mikko Rasa Date: Sat, 25 May 2013 23:11:43 +0000 (+0300) Subject: Register pre-existing signals in Layout3D constructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c6787ec3c08690532d5659d56faa531c2ce2ef36;p=r2c2.git Register pre-existing signals in Layout3D constructor --- diff --git a/source/3d/layout.cpp b/source/3d/layout.cpp index 69af0d4..bd59e12 100644 --- a/source/3d/layout.cpp +++ b/source/3d/layout.cpp @@ -26,6 +26,9 @@ Layout3D::Layout3D(Layout &l): const set <racks = layout.get_tracks(); for(set::iterator i=ltracks.begin(); i!=ltracks.end(); ++i) track_added(**i); + const set &lsignals = layout.get_signals(); + for(set::iterator i=lsignals.begin(); i!=lsignals.end(); ++i) + signal_added(**i); } Layout3D::~Layout3D()