From 642b1d027342885d0a299694e6a60b4aeee184f9 Mon Sep 17 00:00:00 2001 From: Aesylwinn <kyleacooley@gmail.com> Date: Tue, 3 May 2016 03:27:47 -0400 Subject: [PATCH] Add mask. --- apps/opencs/view/render/cell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/opencs/view/render/cell.cpp b/apps/opencs/view/render/cell.cpp index 955e97e3e3..1bd43c23ff 100644 --- a/apps/opencs/view/render/cell.cpp +++ b/apps/opencs/view/render/cell.cpp @@ -84,6 +84,7 @@ CSVRender::Cell::Cell (CSMWorld::Data& data, osg::Group* rootNode, const std::st osg::ref_ptr<osg::PositionAttitudeTransform> pathgridTransform = new osg::PositionAttitudeTransform(); pathgridTransform->setPosition(osg::Vec3f(mCoordinates.getX() * ESM::Land::REAL_SIZE, mCoordinates.getY() * ESM::Land::REAL_SIZE, 0)); + pathgridTransform->setNodeMask(Mask_Pathgrid); mCellNode->addChild(pathgridTransform); mPathgridGeode = new osg::Geode();