Skip to content

Commit

Permalink
Fix #233
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanmunawar committed Jul 23, 2024
1 parent aa136b3 commit 8690849
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ambf_framework/afFramework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,9 @@ bool afVisualUtils::createFromAttribs(afVisualAttributes *attribs, cMultiMesh *m
// Important to set the transparency after setting the material, otherwise the alpha
// channel ruins the Z-buffer depth testing in some way.
mesh->setTransparencyLevel(attribs->m_colorAttribs.m_alpha);
mesh->setShowEnabled(attribs->m_visible);
}

mesh->setShowEnabled(attribs->m_visible);
return true;
}

Expand Down

0 comments on commit 8690849

Please sign in to comment.