1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Convert radians to degrees

This commit is contained in:
Nelsson Huotari 2020-01-28 11:33:44 +02:00
parent 2615913494
commit 032513ae18

View File

@ -705,7 +705,7 @@ void CSVRender::Object::apply (CSMWorld::CommandMacro& commands)
CSMWorld::Columns::ColumnId_PositionXRot+i));
commands.push (new CSMWorld::ModifyCommand (*model,
model->index (recordIndex, column), mPositionOverride.rot[i]));
model->index (recordIndex, column), osg::RadiansToDegrees(mPositionOverride.rot[i])));
}
}