]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/track.cpp
Move Endpoint inside TrackType
[r2c2.git] / source / 3d / track.cpp
index baf35195ff3dd454ebd693cfb53a8b1eb6ae4ed6..49ef02e4ff06ae079968d5698c565b71e19f6f86 100644 (file)
@@ -29,7 +29,7 @@ Track3D::Track3D(Layout3D &l, Track &t):
        layout.add_track(*this);
        layout.get_scene().add(*this);
 
-       const vector<Endpoint> &type_eps = track.get_type().get_endpoints();
+       const vector<TrackType::Endpoint> &type_eps = track.get_type().get_endpoints();
        for(unsigned i=0; i<type_eps.size(); ++i)
                endpoints.push_back(new Endpoint3D(*this, i));
 }