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:
authorCampbell Barton <ideasman42@gmail.com>2016-02-17 17:28:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-02-17 18:16:49 +0300
commit578f98d7ad31d7f1630f674253aeb4872502b6da (patch)
treeabffffd9f2ae84370819511bc3a2dc67b92668bd /source/blender/compositor/intern
parent8512a8b9562e782c147b008c66eabf4caeaecf5d (diff)
Fix T47452: Translate-node seams w/ subpixel offset
Diffstat (limited to 'source/blender/compositor/intern')
-rw-r--r--source/blender/compositor/intern/COM_MemoryBuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.h b/source/blender/compositor/intern/COM_MemoryBuffer.h
index de8c14e1a66..f9e2dd87d05 100644
--- a/source/blender/compositor/intern/COM_MemoryBuffer.h
+++ b/source/blender/compositor/intern/COM_MemoryBuffer.h
@@ -259,7 +259,9 @@ 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, v);
+ BLI_bilinear_interpolation_wrap_fl(
+ this->m_buffer, result, this->m_width, this->m_height, this->m_num_channels, u, v,
+ extend_x == COM_MB_REPEAT, extend_y == COM_MB_REPEAT);
}
void readEWA(float *result, const float uv[2], const float derivatives[2][2]);