summaryrefslogtreecommitdiff
path: root/CSXCAD/src/CSPrimPolyhedron.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CSXCAD/src/CSPrimPolyhedron.cpp')
-rw-r--r--CSXCAD/src/CSPrimPolyhedron.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/CSXCAD/src/CSPrimPolyhedron.cpp b/CSXCAD/src/CSPrimPolyhedron.cpp
index 7eac505..2454f28 100644
--- a/CSXCAD/src/CSPrimPolyhedron.cpp
+++ b/CSXCAD/src/CSPrimPolyhedron.cpp
@@ -268,6 +268,7 @@ bool CSPrimPolyhedron::IsInside(const double* Coord, double /*tol*/)
bool CSPrimPolyhedron::Update(std::string *ErrStr)
{
+ BuildTree();
//update local bounding box
m_BoundBoxValid = GetBoundBox(m_BoundBox);
return CSPrimitives::Update(ErrStr);