Compositor: Add boolean socket support
This patch adds support for boolean sockets in the compositor. This involves adding a new Bool ResultType and handling it in relevant code. For shader operations, booleans are passes as floats since GPUMaterial does not yet support boolean types. Pull Request: https://projects.blender.org/blender/blender/pulls/136296
This commit is contained in:
@@ -440,7 +440,7 @@ class CompositorNodeGroupInterfaceTest(AbstractNodeGroupInterfaceTest, NodeGroup
|
||||
self.do_test_sockets_in_out("NodeSocketFloat")
|
||||
|
||||
def test_all_socket_types(self):
|
||||
self.do_test_invalid_socket_type("NodeSocketBool")
|
||||
self.do_test_socket_type("NodeSocketBool")
|
||||
self.do_test_invalid_socket_type("NodeSocketCollection")
|
||||
self.do_test_socket_type("NodeSocketColor")
|
||||
self.do_test_socket_type("NodeSocketFloat")
|
||||
|
||||
Reference in New Issue
Block a user