From 4cc6610161281e22318a51e00e131d75cd5be058 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Mon, 5 Oct 2009 22:46:28 +0000 Subject: [PATCH] Commit jfs' patch to fix rounding errors as he doesn't have trunk going at the moment. Closes #1018. Originally committed to SVN as r3622. --- aegisub/automation/include/utils-auto4.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/aegisub/automation/include/utils-auto4.lua b/aegisub/automation/include/utils-auto4.lua index bd8e4fafa..161b8edb8 100644 --- a/aegisub/automation/include/utils-auto4.lua +++ b/aegisub/automation/include/utils-auto4.lua @@ -172,9 +172,6 @@ function HSV_to_RGB(H,S,V) end end - r = math.floor(r) - g = math.floor(g) - b = math.floor(b) return r,g,b end @@ -239,10 +236,6 @@ function HSL_to_RGB(H, S, L) end - r = math.floor(r * 255) - g = math.floor(g * 255) - b = math.floor(b * 255) - return r, g, b end