From acd40ce725fe0016ef4c27a1bc81c9c547f842aa Mon Sep 17 00:00:00 2001 From: Benjamin Nauck Date: Mon, 7 Apr 2025 08:28:02 +0200 Subject: [PATCH] Gui: Fix operator mistake in previous c++constant refactoring --- src/Gui/SoDatumLabel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/SoDatumLabel.cpp b/src/Gui/SoDatumLabel.cpp index 928284e67f..ba39d4f4e0 100644 --- a/src/Gui/SoDatumLabel.cpp +++ b/src/Gui/SoDatumLabel.cpp @@ -965,7 +965,7 @@ void SoDatumLabel::generatePrimitives(SoAction * action) { // Initialisation check (needs something more sensible) prevents an infinite loop bug constexpr float floatEpsilon = std::numeric_limits::epsilon(); - if (this->imgHeight <= floatEpsilon | this->imgWidth <= floatEpsilon) { + if (this->imgHeight <= floatEpsilon || this->imgWidth <= floatEpsilon) { return; }