Blender Git Commit Log

Git Commits -> Revision 9c0eecb

Revision 9c0eecb by Sergey Sharybin (master)
March 12, 2013, 08:24 (GMT)
Fix #34599: Mask nodes stop working if output is later piped through HSV node

Issue was caused by the fix for #33650 which changed way to check whether
operation resolution is set or not from checking dimensions are zero to
setResolution was ever called.

Such change lead to conflict with MixBase operation (used for Mix node) which
uses temporary zero resolution to check whether input socket resolution is
known. This leads to zero resolution setting to that branch of tree. After this
resolution will never set to it's actual value.

For now solved by changing logic how MixBase operation detects resolution.
Namely instead of using trick with temporary zero resolution and calling
determineResolution for all inputs, and then call base class's method to
determine resolution just once again, check whether input socket is connected
and if so use it's resolution.

Shall not be regressions for real-life trees, but keeping an eye on this and
doing more tests is for sure welcome.

Commit Details:

Full Hash: 9c0eecbf102cf1e39a5a5374a0d1bd4f60cfbddb
SVN Revision: 55204
Parent Commit: 5792e77
Lines Changed: +2, -12

1 Modified Path:

/source/blender/compositor/operations/COM_MixBaseOperation.cpp (+2, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021