+ z_offs = l*layout.get_layout().get_catalogue().get_gauge()*0.01;
+}
+
+void Path3D::path_changed(unsigned p)
+{
+ if(automatic)
+ {
+ path = p;
+ update_mesh();
+ }
+}
+
+void Path3D::update_mesh()
+{
+ mesh = &track.get_type().get_path_mesh(path, side);