Style fix

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

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

Loading…
Cancel
Save