From: Mikko Rasa Date: Wed, 9 Apr 2014 21:18:10 +0000 (+0300) Subject: Put emergency highlights on a higher layer X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=7b0f113892d7202c17bb873ade72e5e74dbaffa4;p=r2c2.git Put emergency highlights on a higher layer --- diff --git a/source/engineer/engineer.cpp b/source/engineer/engineer.cpp index aa82dcb..07ab83b 100644 --- a/source/engineer/engineer.cpp +++ b/source/engineer/engineer.cpp @@ -318,6 +318,7 @@ void Engineer::emergency(Block *block, const string &msg) set_status(msg); TrackChain3D *tch3d = new TrackChain3D(layout_3d, *block); tch3d->set_color(GL::Color(1.0f, 0.0f, 0.0f)); + tch3d->set_layer(2); emergencies.push_back(tch3d); }