diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-06 13:56:04 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-09-06 13:56:04 +0400 |
commit | 567e3b47cc585afbfd9d56e194562f20a2efdadd (patch) | |
tree | 22318f635b6a8a9ad95acb50a5506126a12edf1b /source/blender/compositor/operations/COM_PlaneTrackWarpImageOperation.cpp | |
parent | 63ade11564798e68943ad5d8c82d45771df67677 (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/operations/COM_PlaneTrackWarpImageOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_PlaneTrackWarpImageOperation.cpp | 2 |
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) |