diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_DisplaceOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_DisplaceOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_DisplaceOperation.cpp b/source/blender/compositor/operations/COM_DisplaceOperation.cpp index 2842b47dd74..7dacc3239c5 100644 --- a/source/blender/compositor/operations/COM_DisplaceOperation.cpp +++ b/source/blender/compositor/operations/COM_DisplaceOperation.cpp @@ -72,8 +72,8 @@ bool DisplaceOperation::read_displacement(float x, float y, float xscale, float else { float col[4]; m_inputVectorProgram->readSampled(col, x, y, COM_PS_BILINEAR); - r_u = origin[0] - col[0] * xscale + 0.5f; - r_v = origin[1] - col[1] * yscale + 0.5f; + r_u = origin[0] - col[0] * xscale; + r_v = origin[1] - col[1] * yscale; return true; } } |