mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Add mask.
This commit is contained in:
parent
0eb863d8fc
commit
642b1d0273
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
osg::ref_ptr<osg::PositionAttitudeTransform> pathgridTransform = new osg::PositionAttitudeTransform();
|
||||||
pathgridTransform->setPosition(osg::Vec3f(mCoordinates.getX() * ESM::Land::REAL_SIZE,
|
pathgridTransform->setPosition(osg::Vec3f(mCoordinates.getX() * ESM::Land::REAL_SIZE,
|
||||||
mCoordinates.getY() * ESM::Land::REAL_SIZE, 0));
|
mCoordinates.getY() * ESM::Land::REAL_SIZE, 0));
|
||||||
|
pathgridTransform->setNodeMask(Mask_Pathgrid);
|
||||||
mCellNode->addChild(pathgridTransform);
|
mCellNode->addChild(pathgridTransform);
|
||||||
|
|
||||||
mPathgridGeode = new osg::Geode();
|
mPathgridGeode = new osg::Geode();
|
||||||
|
|
Loading…
Reference in a new issue