]> git.tdb.fi Git - r2c2.git/commitdiff
Immediately update the matrix after creating an Object3D
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 Jul 2013 22:13:59 +0000 (01:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 Jul 2013 22:13:59 +0000 (01:13 +0300)
This fixes a problem with the catalogue layout's contents being displayed
incorrectly.

source/3d/object.cpp

index b901a7294f9f38c775621f69ecc7e0f469333ee6..cfd7c4a9a75854308aca2a2bcb713ecc0aec98d9 100644 (file)
@@ -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);
 }