Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Document `image.blend_rect(image,...)` gives unexpected results

Jorian Rutten99179dff10b6
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index 79cc59e4e90..d59c16369db 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -30,6 +30,7 @@
<param index="2" name="dst" type="Vector2i" />
<description>
Alpha-blends [param src_rect] from [param src] image to this image at coordinates [param dst], clipped accordingly to both image bounds. This image and [param src] image [b]must[/b] have the same format. [param src_rect] with non-positive size is treated as empty.
+ [b]Note:[/b] Simultaneously reading and writing to the same image reference may lead to unexpected results.
</description>
</method>
<method name="blend_rect_mask">