X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fallocation.cpp;h=3835f8c8df2ba99ae70c0c597025c9cc189bac78;hb=05b95b6b6b095821f1e79dabed802b853c296c9d;hp=0611b058f95a0d08f36ae3da0ba340cdfb6bdb30;hpb=a882f35842c819e011c5fdf6104852c2b6ab3eef;p=r2c2.git diff --git a/source/3d/allocation.cpp b/source/3d/allocation.cpp index 0611b05..3835f8c 100644 --- a/source/3d/allocation.cpp +++ b/source/3d/allocation.cpp @@ -38,7 +38,7 @@ void Allocation3D::block_reserved(Block &block, Train *t) const Block::TrackSet &tracks = block.get_tracks(); for(Block::TrackSet::const_iterator i=tracks.begin(); i!=tracks.end(); ++i) { - Path3D *path = new Path3D(layout.get(**i)); + Path3D *path = new Path3D(layout.get_3d(**i)); bpaths.push_back(path); path->set_layer(1); float intensity = 0.5+train.get_block_allocator().is_block_current(block)*0.5;