mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Add mask.
This commit is contained in:
parent
0eb863d8fc
commit
642b1d0273
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user