Blender Git Commit Log

Git Commits -> Revision e9f2f17

Revision e9f2f17 by Manuel Castilla (master)
May 31, 2021, 10:26 (GMT)
Fix (unreported): TextureOperation inputs have no resolution

When compositor node tree has a texture node, TextureOperation vector inputs has always {0, 0} resolution instead of having same resolution as TextureOperation which is the expected behaviour for resolutions propagation.

Current TextureOperation determineResolution implementation doesn't determine inputs resolution, breaking propagation of preferred resolution and that's the reason why they are always 0. Setting scene resolution always would mean it is its own resolution and could make sense, but setting it only when preferred resolution is 0, breaks preferred resolution logic affecting other operations as explained in D10972. In any case scene resolution is already the default preferred resolution on viewer and compositor nodes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11381

Commit Details:

Full Hash: e9f2f17e8518f31706756b4ebe7c38a3582a3612
Parent Commit: 83fe479
Lines Changed: +8, -11

2 Modified Paths:

/source/blender/compositor/operations/COM_TextureOperation.cc (+7, -10) (Diff)
/source/blender/compositor/operations/COM_TextureOperation.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021