Cleanup: trailing space for compositor
This commit is contained in:
@@ -101,10 +101,10 @@ void ChannelMatteOperation::executePixelSampled(float output[4], float x, float
|
||||
|
||||
/* matte operation */
|
||||
alpha = inColor[this->m_ids[0]] - max(inColor[this->m_ids[1]], inColor[this->m_ids[2]]);
|
||||
|
||||
|
||||
/* flip because 0.0 is transparent, not 1.0 */
|
||||
alpha = 1.0f - alpha;
|
||||
|
||||
|
||||
/* test range */
|
||||
if (alpha > limit_max) {
|
||||
alpha = inColor[3]; /*whatever it was prior */
|
||||
@@ -119,7 +119,7 @@ void ChannelMatteOperation::executePixelSampled(float output[4], float x, float
|
||||
/* store matte(alpha) value in [0] to go with
|
||||
* COM_SetAlphaOperation and the Value output
|
||||
*/
|
||||
|
||||
|
||||
/* don't make something that was more transparent less transparent */
|
||||
output[0] = min(alpha, inColor[3]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user