Gui: Fix operator mistake in previous c++constant refactoring
This commit is contained in:
committed by
Kacper Donat
parent
7013f913b6
commit
acd40ce725
@@ -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<float>::epsilon();
|
||||
if (this->imgHeight <= floatEpsilon | this->imgWidth <= floatEpsilon) {
|
||||
if (this->imgHeight <= floatEpsilon || this->imgWidth <= floatEpsilon) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user