Style fix

openmw-37
scrawl 9 years ago
parent 02148a43f5
commit 79c44d0bfe

@ -381,7 +381,7 @@ namespace MWRender
osg::PositionAttitudeTransform* transform = mTrackingPtr.getRefData().getBaseNode();
mTrackingNode = transform;
if (transform)
mHeightScale = mTrackingPtr.getRefData().getBaseNode()->getScale().z();
mHeightScale = transform->getScale().z();
else
mHeightScale = 1.f;
}

Loading…
Cancel
Save