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
commit 698df41dac
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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 {