Fix #121436: Compositor: 2d Stabilization translates image when set to bicubic

The node uses multiple transform operations, each using its own sampling. Using bicubic sampling in the translate node causes undesired offsets.

These changes were intentional (see test updates in `c4e1be73`), but the offsets were thought to be too small for users to notice.

Pull Request: https://projects.blender.org/blender/blender/pulls/121495
This commit is contained in:
Habib Gahbiche 2024-05-07 21:08:28 +02:00 committed by Habib Gahbiche
parent a602e4fa40
commit 6f2afc7390
2 changed files with 1 additions and 2 deletions

@ -61,7 +61,6 @@ void Stabilize2dNode::convert_to_operations(NodeConverter &converter,
rotate_operation->set_do_degree2_rad_conversion(false);
rotate_operation->set_sampler(sampler);
TranslateOperation *translate_operation = new TranslateCanvasOperation();
translate_operation->set_sampler(sampler);
converter.add_operation(scale_operation);
converter.add_operation(translate_operation);

@ -1 +1 @@
Subproject commit 4c4d894db8045dd361ed9f8ef36983d043d947fd
Subproject commit 4301e84ccf9a33957c2bac3ebaa09d504f4c1e3b