Fixed rotate view cursor not updating correctly.

This commit is contained in:
leo 2012-11-01 00:34:09 +00:00
parent 5388d058da
commit 53894d79b9

View file

@ -96,13 +96,13 @@ LC_CURSOR_TYPE View::GetCursor() const
case LC_ACTION_ROTATE_VIEW:
switch (m_Project->GetOverlayMode())
{
case LC_OVERLAY_ROTATE_X:
case LC_OVERLAY_ROTATE_VIEW_X:
return LC_CURSOR_ROTATEX;
case LC_OVERLAY_ROTATE_Y:
case LC_OVERLAY_ROTATE_VIEW_Y:
return LC_CURSOR_ROTATEY;
case LC_OVERLAY_ROTATE_Z:
case LC_OVERLAY_ROTATE_VIEW_Z:
return LC_CURSOR_ROLL;
case LC_OVERLAY_ROTATE_XYZ:
case LC_OVERLAY_ROTATE_VIEW_XYZ:
default:
return LC_CURSOR_ROTATE_VIEW;
}