X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fblob_exhibit.cc;h=35552e4f66d8327d5d632154f229cd07afe0b965;hb=332f9dce52862e39afabd50bdce9691de7986921;hp=c92ac7acf3c80e7acb802fe1d9eeb8f58f8d0dac;hpb=fa954e4716d12939552b592f46a4e08405ecfb24;p=laserbrain_demo diff --git a/src/blob_exhibit.cc b/src/blob_exhibit.cc index c92ac7a..35552e4 100644 --- a/src/blob_exhibit.cc +++ b/src/blob_exhibit.cc @@ -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; }