From 032513ae18235294ba1e099921d90b4d66d1d057 Mon Sep 17 00:00:00 2001 From: Nelsson Huotari Date: Tue, 28 Jan 2020 11:33:44 +0200 Subject: [PATCH] Convert radians to degrees --- apps/opencs/view/render/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/view/render/object.cpp b/apps/opencs/view/render/object.cpp index fe4adfcb69..484f1a48a7 100644 --- a/apps/opencs/view/render/object.cpp +++ b/apps/opencs/view/render/object.cpp @@ -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]))); } }