summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Render/StudioRotationWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Render/StudioRotationWidget.cpp')
-rw-r--r--src/Authoring/Studio/Render/StudioRotationWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Render/StudioRotationWidget.cpp b/src/Authoring/Studio/Render/StudioRotationWidget.cpp
index 8578595c..547039a0 100644
--- a/src/Authoring/Studio/Render/StudioRotationWidget.cpp
+++ b/src/Authoring/Studio/Render/StudioRotationWidget.cpp
@@ -375,7 +375,7 @@ struct SRotationWidget : public SStudioWidgetImpl<StudioWidgetTypes::Rotation>
char textBuffer[25] = { 0 };
QT3DSF32 angleDeg(m_RotationWedge->m_Angle);
TODEG(angleDeg);
- sprintf(textBuffer, " %.1f ", angleDeg); // spaces added for margin
+ sprintf(textBuffer, " %.1f ", -angleDeg); // spaces added for margin
STextRenderInfo theInfo;
theInfo.m_Text = inRenderContext.GetStringTable().RegisterStr(textBuffer);
theInfo.m_HorizontalAlignment = TextHorizontalAlignment::Center;