blender/source
Lukas Tönne 005dabbd9a Fix T39799: Backdrop (compositor) ignores alpha.
This issue is because of a somewhat "special" behavior in old code, which got lost during rB09874df:

There was a variant of the `relinkConnections` function which would leave the socket completely unconnected. This is not a valid state really (given that each unconnected input must otherwise connected to a constant `Set` type node), but was used as a way to distinguish connected alpha/depth sockets in composite and viewer output nodes.
https://developer.blender.org/diffusion/B/browse/master/source/blender/compositor/intern/COM_InputSocket.cpp;28a829893c702918afc5ac1945a06eaefa611594$69

After the large cleanup patch ({D309}) every socket is now automatically connected to a constant, such that `getInputSocketReader` will never return a NULL pointer. This breaks the previous test method, which needs to be replaced by more explicit flags. Luckily this was done only for very few output nodes (Composite, Viewer, Output-File). These now use the regular SetValueOperation default in case "use alpha" is disabled, but set this to an explicit 1.0 value instead of mapping to the node socket.
2014-04-25 12:05:23 +02:00
..
blender Fix T39799: Backdrop (compositor) ignores alpha. 2014-04-25 12:05:23 +02:00
blenderplayer Fix player build. 2014-04-21 10:19:13 +02:00
creator Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper. 2014-04-02 11:59:43 +02:00
gameengine COmpilation error fix after recent cleanup in BGE 2014-04-24 13:03:41 +06:00
icons Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
tests Code cleanup: unused python vars & imports 2014-04-25 05:36:16 +10:00
CMakeLists.txt remove WINDOWS checks in cmake, this variable isn't defined on windows and checks weren't needed. 2013-09-03 03:04:44 +00:00
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00