diff --git a/scene.cpp b/scene.cpp index a2f968cc..6c378e46 100644 --- a/scene.cpp +++ b/scene.cpp @@ -771,7 +771,7 @@ basic_section::insert( shape_node Shape ) { // re-calculate section radius, in case shape geometry extends outside the section's boundaries m_area.radius = std::max( m_area.radius, - static_cast( glm::length( m_area.center - shapedata.area.center ) + shapedata.area.radius ) ); + static_cast( glm::length( m_area.center - shapedata.area.center ) + Shape.radius() ) ); if( ( true == shapedata.translucent ) || ( shapedata.rangesquared_max <= 90000.0 )