mirror of
https://github.com/overte-org/overte.git
synced 2025-06-18 18:40:45 +02:00
Fix opacity check for Overlay ItemKey
This commit is contained in:
parent
f2b716f90a
commit
452b6f4e59
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ namespace render {
|
||||||
if (std::dynamic_pointer_cast<Base3DOverlay>(overlay)->getDrawInFront()) {
|
if (std::dynamic_pointer_cast<Base3DOverlay>(overlay)->getDrawInFront()) {
|
||||||
builder.withLayered();
|
builder.withLayered();
|
||||||
}
|
}
|
||||||
if (overlay->getAlpha() != 1.0f) {
|
if (overlay->getAlphaPulse() != 0.0f || overlay->getAlpha() != 1.0f) {
|
||||||
builder.withTransparent();
|
builder.withTransparent();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue