From 54fdeb4ba991c8e17a12ad172fe8decc4fb6bbbf Mon Sep 17 00:00:00 2001 From: Florian Foinant-Willig Date: Wed, 6 Mar 2024 22:45:45 +0100 Subject: [PATCH] Core: Fix unselectable area in SoDatumLabel --- src/Gui/SoDatumLabel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Gui/SoDatumLabel.cpp b/src/Gui/SoDatumLabel.cpp index f5fad40ee5..20ac698084 100644 --- a/src/Gui/SoDatumLabel.cpp +++ b/src/Gui/SoDatumLabel.cpp @@ -565,7 +565,7 @@ void SoDatumLabel::generateDistancePrimitives(SoAction * action, const SbVec3f& // Primitive Shape is only for text as this should only be selectable SoPrimitiveVertex pv; - this->beginShape(action, QUADS); + this->beginShape(action, TRIANGLE_STRIP); pv.setNormal( SbVec3f(0.f, 0.f, 1.f) ); @@ -616,7 +616,7 @@ void SoDatumLabel::generateDiameterPrimitives(SoAction * action, const SbVec3f& // Primitive Shape is only for text as this should only be selectable SoPrimitiveVertex pv; - this->beginShape(action, QUADS); + this->beginShape(action, TRIANGLE_STRIP); pv.setNormal( SbVec3f(0.f, 0.f, 1.f) ); @@ -653,7 +653,7 @@ void SoDatumLabel::generateAnglePrimitives(SoAction * action, const SbVec3f& p0) // Primitive Shape is only for text as this should only be selectable SoPrimitiveVertex pv; - this->beginShape(action, QUADS); + this->beginShape(action, TRIANGLE_STRIP); pv.setNormal( SbVec3f(0.f, 0.f, 1.f) );