Fix water ripple height

c++11
scrawl 10 years ago
parent 6e5f3339ad
commit 0ffa1f964b

@ -159,6 +159,8 @@ void Water::setHeight(const float height)
{
mTop = height;
mSimulation->setWaterHeight(height);
osg::Vec3f pos = mWaterNode->getPosition();
pos.z() = height;
mWaterNode->setPosition(pos);

Loading…
Cancel
Save