1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Merge pull request #81333 from dalexeev/fix-rd-pcbs-attachments-setter

Fix `RDPipelineColorBlendState.attachments` setter
This commit is contained in:
Rémi Verschelde
2023-09-07 13:52:33 +02:00

View File

@@ -696,7 +696,7 @@ public:
RD_SETGET(Color, blend_constant)
void set_attachments(const TypedArray<RDPipelineColorBlendStateAttachment> &p_attachments) {
attachments.push_back(p_attachments);
attachments = p_attachments;
}
TypedArray<RDPipelineColorBlendStateAttachment> get_attachments() const {