ad-hoc exhibits created by the manager and described with the same file
[laserbrain_demo] / src / blob_exhibit.cc
index c92ac7a..35552e4 100644 (file)
@@ -189,7 +189,7 @@ void BlobExhibit::draw() const
 
 const AABox &BlobExhibit::get_aabox() const
 {
-       Box box = Box(priv->vol, node->get_matrix());
+       Box box = Box(priv->vol, node ? node->get_matrix() : Mat4::identity);
        calc_bounding_aabox(&aabb, &box);
        return aabb;
 }