summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/geometry/qgeometryview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/geometry/qgeometryview.cpp b/src/core/geometry/qgeometryview.cpp
index 258448ba4..44933914a 100644
--- a/src/core/geometry/qgeometryview.cpp
+++ b/src/core/geometry/qgeometryview.cpp
@@ -273,7 +273,7 @@ bool BoundingVolumeCalculator::apply(QAttribute *positionAttribute,
const float radius = (center - maxDistantPointCenter.maxDistPt).length();
- if (center == Vector3D{} || radius < 0.f)
+ if (center == Vector3D{} && radius < 0.f)
return false;
m_radius = radius;