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>2015-03-09 10:45:01 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-03-09 10:48:42 +0300
commit2ae0f1e70be543b37f426dc1b7d8a44b05301faf (patch)
treeacb1ff112941faf9cced6a3183e71faf688777ef /source/blender/compositor/intern
parent36df8cc1e5be695fef4aeafc2c6b9aee92f5d56a (diff)
Fix T43908: Mask render bug, one pixel black line
This was a regression caused by attempts to fix T42844 and there were some red-herrings which lead me to the wrong way to fix it. It's some deeper issue than just interpolation offset, it's mainly how the node resolution is being mapped to each other. It could be actually a part of canvas awareness project..
Diffstat (limited to 'source/blender/compositor/intern')
-rw-r--r--source/blender/compositor/intern/COM_MemoryBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.h b/source/blender/compositor/intern/COM_MemoryBuffer.h
index e0c542108a1..322e4bc388b 100644
--- a/source/blender/compositor/intern/COM_MemoryBuffer.h
+++ b/source/blender/compositor/intern/COM_MemoryBuffer.h
@@ -259,7 +259,7 @@ public:
float u = x;
float v = y;
this->wrap_pixel(u, v, extend_x, extend_y);
- BLI_bilinear_interpolation_fl(this->m_buffer, result, this->m_width, this->m_height, this->m_num_channels, u - 0.5f, v - 0.5f);
+ BLI_bilinear_interpolation_fl(this->m_buffer, result, this->m_width, this->m_height, this->m_num_channels, u, v);
}
void readEWA(float *result, const float uv[2], const float derivatives[2][2], PixelSampler sampler);