X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fcatalogue.cpp;h=935219ed75e268347ea654e20d9aa6f56e7215e3;hb=850c1d571f2d2d157a873b678d86e4a5c771ba26;hp=7169c60c3272be579162ec093fdbd1c5672a764e;hpb=621c5c938d70ba0d155e0eda91a708db0a52c0dc;p=r2c2.git diff --git a/source/3d/catalogue.cpp b/source/3d/catalogue.cpp index 7169c60..935219e 100644 --- a/source/3d/catalogue.cpp +++ b/source/3d/catalogue.cpp @@ -16,11 +16,11 @@ Catalogue3D::Catalogue3D(Catalogue &c): catalogue(c), endpoint_mesh((GL::NORMAL3, GL::VERTEX3)) { - add_creator(&Catalogue3D::create); - add_creator(&Catalogue3D::create); - add_creator(&Catalogue3D::create2); - add_creator(&Catalogue3D::create); - add_creator(&Catalogue3D::create2); + add_type().creator(&Catalogue3D::create); + add_type().creator(&Catalogue3D::create); + add_type().creator(&Catalogue3D::create); + add_type().creator(&Catalogue3D::create); + add_type().creator(&Catalogue3D::create); catalogue.signal_track_added.connect(sigc::mem_fun(this, &Catalogue3D::track_added)); catalogue.signal_vehicle_added.connect(sigc::mem_fun(this, &Catalogue3D::vehicle_added));