X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fpath.cpp;h=8c36a3088f249f65305e9c13c5ea4e0a7f1d1e7f;hb=5929b101ee38b5668b328e7b1eac4bf49c912412;hp=f9e51f4974a790efa0fb51e141ee7256efebbd85;hpb=4c8c03d25ec4d58772ceb5b287deab645fdae19f;p=r2c2.git diff --git a/source/3d/path.cpp b/source/3d/path.cpp index f9e51f4..8c36a30 100644 --- a/source/3d/path.cpp +++ b/source/3d/path.cpp @@ -59,7 +59,7 @@ void Path3D::set_color(const GL::Color &c) void Path3D::set_layer(float l) { - z_offs = l*layout.get_layout().get_catalogue().get_gauge()*0.01; + z_offs = l*track.get_track().get_type().get_appearance().get_gauge()*0.01; } void Path3D::path_changed(unsigned p)