diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 099288b4f9..30b3c65373 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -180,7 +180,11 @@ namespace if (_referenceFrame==RELATIVE_RF) { matrix.preMult(_matrix); + osg::Vec3 scale = matrix.getScale(); matrix.setRotate(osg::Quat()); + matrix(0,0) = scale.x(); + matrix(1,1) = scale.y(); + matrix(2,2) = scale.z(); } else // absolute {