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:
authorDalai Felinto <dfelinto@gmail.com>2012-07-13 10:07:28 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-07-13 10:07:28 +0400
commit6ee2e0b145bdd4e936f58a05ac24d90533824e77 (patch)
tree073c7ccf3f4ff5d2ad1db5256b9cb6c18d16917e
parent8ce53a2a984238aa371b28b44bb2598473a64875 (diff)
bugfix: [#32073] Displace node different result between Low and high quality
-rw-r--r--source/blender/compositor/operations/COM_DisplaceOperation.cpp2
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;