diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2012-07-13 10:07:28 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2012-07-13 10:07:28 +0400 |
commit | 6ee2e0b145bdd4e936f58a05ac24d90533824e77 (patch) | |
tree | 073c7ccf3f4ff5d2ad1db5256b9cb6c18d16917e /source/blender/compositor/operations | |
parent | 8ce53a2a984238aa371b28b44bb2598473a64875 (diff) |
bugfix: [#32073] Displace node different result between Low and high quality
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r-- | source/blender/compositor/operations/COM_DisplaceOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_DisplaceOperation.cpp b/source/blender/compositor/operations/COM_DisplaceOperation.cpp index c7df53770c5..3ef73feaf36 100644 --- a/source/blender/compositor/operations/COM_DisplaceOperation.cpp +++ b/source/blender/compositor/operations/COM_DisplaceOperation.cpp @@ -86,7 +86,7 @@ void DisplaceOperation::executePixel(float *color, int x, int y, MemoryBuffer *i this->m_inputVectorProgram->read(inVector, x + 1, y, COM_PS_NEAREST, inputBuffers); d_dx = inVector[0] * xs; this->m_inputVectorProgram->read(inVector, x, y + 1, COM_PS_NEAREST, inputBuffers); - d_dy = inVector[0] * ys; + d_dy = inVector[1] * ys; /* clamp derivatives to minimum displacement distance in UV space */ dxt = p_dx - d_dx; |