mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
removed a redundant check
This commit is contained in:
parent
7bbc475bda
commit
5d9863aec1
@ -378,12 +378,7 @@ osg::ref_ptr<CSVRender::TagBase> CSVRender::WorldspaceWidget::mousePick (QMouseE
|
||||
{
|
||||
osg::Node* node = *it;
|
||||
if (osg::ref_ptr<CSVRender::TagBase> tag = dynamic_cast<CSVRender::TagBase *>(node->getUserData()))
|
||||
{
|
||||
if (!(tag->getElement() & mInteractionMask))
|
||||
break; // not interested -> continue looking
|
||||
|
||||
return tag;
|
||||
}
|
||||
}
|
||||
|
||||
// ignoring terrain for now
|
||||
|
Loading…
x
Reference in New Issue
Block a user