From a3797482da2e7eeca2f486c4c77e61b03a4c7eed Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 16 Dec 2010 04:27:00 +0100 Subject: removed 360 degree rotation in the editor. Closes #352 --- src/game/editor/ed_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/editor') diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp index b0ff42b2..d8d72cc6 100644 --- a/src/game/editor/ed_editor.cpp +++ b/src/game/editor/ed_editor.cpp @@ -750,7 +750,7 @@ void CEditor::DoToolbar(CUIRect ToolBar) s_RotationAmount = max(90, (s_RotationAmount/90)*90); break; } - s_RotationAmount = UiDoValueSelector(&s_RotationAmount, &Button, "", s_RotationAmount, TileLayer?90:1, 360, TileLayer?90:1, TileLayer?10.0f:2.0f, Localize("Rotation of the brush in degrees. Use left mouse button to drag and change the value. Hold shift to be more precise.")); + s_RotationAmount = UiDoValueSelector(&s_RotationAmount, &Button, "", s_RotationAmount, TileLayer?90:1, 359, TileLayer?90:1, TileLayer?10.0f:2.0f, Localize("Rotation of the brush in degrees. Use left mouse button to drag and change the value. Hold shift to be more precise.")); TB_Top.VSplitLeft(5.0f, &Button, &TB_Top); TB_Top.VSplitLeft(30.0f, &Button, &TB_Top); -- cgit 1.4.1