Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-09-06 13:56:04 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-09-06 13:56:04 +0400
commit567e3b47cc585afbfd9d56e194562f20a2efdadd (patch)
tree22318f635b6a8a9ad95acb50a5506126a12edf1b /source/blender/compositor
parent63ade11564798e68943ad5d8c82d45771df67677 (diff)
On the second thought, no need to go between straight and premul when doing AA for plane warp node
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/operations/COM_PlaneTrackWarpImageOperation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_PlaneTrackWarpImageOperation.cpp b/source/blender/compositor/operations/COM_PlaneTrackWarpImageOperation.cpp
index 2385219c656..df487a766f3 100644
--- a/source/blender/compositor/operations/COM_PlaneTrackWarpImageOperation.cpp
+++ b/source/blender/compositor/operations/COM_PlaneTrackWarpImageOperation.cpp
@@ -143,13 +143,11 @@ void PlaneTrackWarpImageOperation::executePixel(float output[4], float x, float
v *= this->m_pixelReader->getHeight();
this->m_pixelReader->read(current_color, u, v, dx, dy, COM_PS_NEAREST);
- premul_to_straight_v4(current_color);
add_v4_v4(color_accum, current_color);
}
}
mul_v4_v4fl(output, color_accum, 1.0f / this->m_osa);
- straight_to_premul_v4(output);
}
bool PlaneTrackWarpImageOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)