From f885f29ebcece88492654b97ffb8fba96f930ce1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 8 Jul 2013 01:13:59 +0300 Subject: [PATCH] Immediately update the matrix after creating an Object3D This fixes a problem with the catalogue layout's contents being displayed incorrectly. --- source/3d/object.cpp | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.45.2