Skip to content

Commit 79166bb

Browse files
author
mfe
committed
SeExpr: Fix offset #234
1 parent 3ac49b7 commit 79166bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/image/generator/SeExpr/src/SeExprProcess.tcc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ void SeExprProcess<View>::multiThreadProcessImages( const OfxRectI& procWindowRo
7373
x < procWindowOutput.x2;
7474
++x, ++dst_it )
7575
{
76-
u = one_over_width * ( x + .5 + _params._paramTextureOffset.x );
77-
v = one_over_height * ( y + .5 + _params._paramTextureOffset.y );
76+
u = one_over_width * ( x + .5 - _params._paramTextureOffset.x );
77+
v = one_over_height * ( y + .5 - _params._paramTextureOffset.y );
7878
SeVec3d result = expr.evaluate();
7979

8080
color_convert( rgba32f_pixel_t( (float)result[0], (float)result[1], (float)result[2], 1.0 ), *dst_it );

0 commit comments

Comments
 (0)