From ca18ff7808e12fba5722e6b79e00e9d41d38966e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 24 Nov 2013 23:43:13 +0200 Subject: [PATCH] Pass catalogue reference to Object and Technique loaders --- source/3d/catalogue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.43.0