mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
bit masking fix
This commit is contained in:
parent
72bb33c2c4
commit
3844c94975
@ -465,7 +465,7 @@ void CSVRender::WorldspaceWidget::mousePressEvent (QMouseEvent *event)
|
||||
osg::Node* node = *it;
|
||||
if (CSVRender::TagBase* tag = dynamic_cast<CSVRender::TagBase *>(node->getUserData()))
|
||||
{
|
||||
if (!(tag->getElement() && mInteractionMask))
|
||||
if (!(tag->getElement() & mInteractionMask))
|
||||
break; // not interested -> continue looking
|
||||
|
||||
// hit something marked with a tag
|
||||
|
Loading…
x
Reference in New Issue
Block a user