From f2f0375e106813c047ae42458f5ab62b4b9a9130 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Tue, 5 Sep 2023 12:54:45 +0300 Subject: [PATCH] Fix `RDPipelineColorBlendState.attachments` setter --- servers/rendering/rendering_device_binds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/rendering/rendering_device_binds.h b/servers/rendering/rendering_device_binds.h index bf30efbcf623..737a874abc9b 100644 --- a/servers/rendering/rendering_device_binds.h +++ b/servers/rendering/rendering_device_binds.h @@ -696,7 +696,7 @@ class RDPipelineColorBlendState : public RefCounted { RD_SETGET(Color, blend_constant) void set_attachments(const TypedArray &p_attachments) { - attachments.push_back(p_attachments); + attachments = p_attachments; } TypedArray get_attachments() const {