mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 19:39:41 +00:00
Merge pull request #2703 from akortunov/masks
Fix a regression in the NiVisController
This commit is contained in:
commit
e1f0504557
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ void VisController::operator() (osg::Node* node, osg::NodeVisitor* nv)
|
|||
{
|
||||
bool vis = calculate(getInputValue(nv));
|
||||
// Leave 0x1 enabled for UpdateVisitor, so we can make ourselves visible again in the future from this update callback
|
||||
node->setNodeMask(vis ? ~SceneUtil::Mask_Default : SceneUtil::Mask_UpdateVisitor);
|
||||
node->setNodeMask(vis ? SceneUtil::Mask_Default : SceneUtil::Mask_UpdateVisitor);
|
||||
}
|
||||
traverse(node, nv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue