Round scales to ints as VSFilter doesn't actually support nonint scales so it's just pointless ugliness

Originally committed to SVN as r5849.
This commit is contained in:
Thomas Goyne 2011-11-16 19:54:25 +00:00
parent 4be9c302d3
commit 55fc6c753e
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,8 @@ void VisualToolScale::UpdateHold() {
if (ctrl_down)
scale = scale.Round(25.f);
SetSelectedOverride("\\fscx", wxString::Format("(%0.3g)", scale.X()));
SetSelectedOverride("\\fscy", wxString::Format("(%0.3g)", scale.Y()));
SetSelectedOverride("\\fscx", wxString::Format("%d", (int)scale.X()));
SetSelectedOverride("\\fscy", wxString::Format("%d", (int)scale.Y()));
}
void VisualToolScale::DoRefresh() {