Merge pull request #2677 from unelsson/fixcsrotation

Editor: Convert radians to degrees when rotating objects
pull/2679/head
Bret Curtis 5 years ago committed by GitHub
commit 7dfbeff049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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])));
}
}

Loading…
Cancel
Save