From: Mikko Rasa Date: Sun, 7 Jul 2013 22:13:59 +0000 (+0300) Subject: Immediately update the matrix after creating an Object3D X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=f885f29ebcece88492654b97ffb8fba96f930ce1;p=r2c2.git Immediately update the matrix after creating an Object3D This fixes a problem with the catalogue layout's contents being displayed incorrectly. --- diff --git a/source/3d/object.cpp b/source/3d/object.cpp index b901a72..cfd7c4a 100644 --- a/source/3d/object.cpp +++ b/source/3d/object.cpp @@ -10,6 +10,7 @@ Object3D::Object3D(Layout3D &l, Object &o): object(o) { object.signal_moved.connect(sigc::mem_fun(this, &Object3D::moved)); + moved(); layout.add(*this); }