]> git.tdb.fi Git - r2c2.git/commit
Turnout handling fixes
authorMikko Rasa <tdb@tdb.fi>
Wed, 30 Oct 2013 22:19:40 +0000 (00:19 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 30 Oct 2013 22:19:40 +0000 (00:19 +0200)
commit695f7651bf45b3991ddbab5efe4c2213dbd76f07
treee28d38ff125fba1d3592f665e061d11f7fdc693f
parent26a8dbeae14c685c6aef1aad3aa75c6f1a75e458
Turnout handling fixes

Add the turnout to driver when acquiring automatic id to avoid a key_error
later when removing it.  Don't bother connecting to turnout_event signal
if the track is not actually a turnout.
source/libr2c2/track.cpp