diff --git a/radiant/surfacedialog.cpp b/radiant/surfacedialog.cpp index 2ce52076..8b2bef16 100644 --- a/radiant/surfacedialog.cpp +++ b/radiant/surfacedialog.cpp @@ -1382,7 +1382,7 @@ void SurfaceInspector::ApplyTexdef_VScale(){ void SurfaceInspector::ApplyTexdef_Rotation(){ const float value = static_cast( gtk_spin_button_get_value_as_float( m_rotateIncrement.m_spin ) ); StringOutputStream command; - command << "textureProjectionSetSelected -rotation " << value; + command << "textureProjectionSetSelected -rotation " << static_cast( float_to_integer( value * 100.f ) ) / 100.f;; UndoableCommand undo( command.c_str() ); Select_SetTexdef( 0, 0, 0, 0, &value ); }