forked from teamnwah/openmw-tes3coop
Ignore effect meshes in getScreenBounds
This commit is contained in:
parent
d5a47cfafe
commit
4b2391c60f
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ namespace MWRender
|
|||
return osg::Vec4f();
|
||||
|
||||
osg::ComputeBoundsVisitor computeBoundsVisitor;
|
||||
computeBoundsVisitor.setTraversalMask(~MWRender::Mask_ParticleSystem);
|
||||
computeBoundsVisitor.setTraversalMask(~(Mask_ParticleSystem|Mask_Effect));
|
||||
ptr.getRefData().getBaseNode()->accept(computeBoundsVisitor);
|
||||
|
||||
osg::Matrix viewProj = mViewer->getCamera()->getViewMatrix() * mViewer->getCamera()->getProjectionMatrix();
|
||||
|
|
Loading…
Reference in a new issue