mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
removed a redundant check
This commit is contained in:
parent
7bbc475bda
commit
5d9863aec1
1 changed files with 0 additions and 5 deletions
|
@ -378,13 +378,8 @@ osg::ref_ptr<CSVRender::TagBase> CSVRender::WorldspaceWidget::mousePick (QMouseE
|
||||||
{
|
{
|
||||||
osg::Node* node = *it;
|
osg::Node* node = *it;
|
||||||
if (osg::ref_ptr<CSVRender::TagBase> tag = dynamic_cast<CSVRender::TagBase *>(node->getUserData()))
|
if (osg::ref_ptr<CSVRender::TagBase> tag = dynamic_cast<CSVRender::TagBase *>(node->getUserData()))
|
||||||
{
|
|
||||||
if (!(tag->getElement() & mInteractionMask))
|
|
||||||
break; // not interested -> continue looking
|
|
||||||
|
|
||||||
return tag;
|
return tag;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// ignoring terrain for now
|
// ignoring terrain for now
|
||||||
// must be terrain, report coordinates
|
// must be terrain, report coordinates
|
||||||
|
|
Loading…
Reference in a new issue