]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/object.cpp
Don't crash if a train has no router
[r2c2.git] / source / 3d / object.cpp
index b901a7294f9f38c775621f69ecc7e0f469333ee6..cfd7c4a9a75854308aca2a2bcb713ecc0aec98d9 100644 (file)
@@ -10,6 +10,7 @@ Object3D::Object3D(Layout3D &l, Object &o):
        object(o)
 {
        object.signal_moved.connect(sigc::mem_fun(this, &Object3D::moved));
+       moved();
 
        layout.add(*this);
 }