projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ad-hoc exhibits created by the manager and described with the same file
[laserbrain_demo]
/
src
/
blob_exhibit.cc
diff --git
a/src/blob_exhibit.cc
b/src/blob_exhibit.cc
index
c92ac7a
..
35552e4
100644
(file)
--- 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;
}