X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fpath.cpp;h=1b4dba54fe03ee75674d3d4b649ea211a8692552;hb=2875ea548e0567ad2ce1b8f9bda58e6452813204;hp=8c36a3088f249f65305e9c13c5ea4e0a7f1d1e7f;hpb=7ecefa673473c6d6ef9505ca415d5b0e4dbc3944;p=r2c2.git diff --git a/source/3d/path.cpp b/source/3d/path.cpp index 8c36a30..1b4dba5 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*track.get_track().get_type().get_appearance().get_gauge()*0.01; + z_offs = l*track.get_track().get_type().get_gauge()*0.01; } void Path3D::path_changed(unsigned p)