From: Mikko Rasa Date: Sun, 24 Nov 2013 21:43:13 +0000 (+0200) Subject: Pass catalogue reference to Object and Technique loaders X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ca18ff7808e12fba5722e6b79e00e9d41d38966e;p=r2c2.git Pass catalogue reference to Object and Technique loaders --- diff --git a/source/3d/catalogue.cpp b/source/3d/catalogue.cpp index e28237f..c02b7e6 100644 --- a/source/3d/catalogue.cpp +++ b/source/3d/catalogue.cpp @@ -19,9 +19,9 @@ Catalogue3D::Catalogue3D(Catalogue &c): { add_type().creator(&Catalogue3D::create); add_type().creator(&Catalogue3D::create); - add_type().creator(&Catalogue3D::create); + add_type().creator(&Catalogue3D::create2); add_type().creator(&Catalogue3D::create); - add_type().creator(&Catalogue3D::create); + add_type().creator(&Catalogue3D::create2); catalogue.signal_object_added.connect(sigc::mem_fun(this, &Catalogue3D::object_added));