From: Paul Davis Date: Fri, 5 Dec 2014 14:00:36 +0000 (-0500) Subject: include alpha-delta computation in HSV::delta() X-Git-Tag: 4.0-rc1~1137 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=207fd04587e7d354c9b98453b01cc0825b2ba556;p=ardour.git include alpha-delta computation in HSV::delta() --- diff --git a/libs/canvas/colors.cc b/libs/canvas/colors.cc index b053e2d1de..361023d300 100644 --- a/libs/canvas/colors.cc +++ b/libs/canvas/colors.cc @@ -376,6 +376,7 @@ HSV::delta (const HSV& other) const d.s = s - other.s; d.v = v - other.v; } + d.a = a - other.a; /* do not clamp - we are returning a delta */ return d; }