diff options
| author | Rémi Verschelde | 2018-01-06 14:11:44 +0100 |
|---|---|---|
| committer | GitHub | 2018-01-06 14:11:44 +0100 |
| commit | 61a3bfe7ffa6ae6f929ffe8a2e1c19a6df05d062 (patch) | |
| tree | edd34897d71fa298fcdd82792647a157598c0f1f /doc/classes/Image.xml | |
| parent | a195f81a6a4d6e35f01b499000062b7d4c9d1713 (diff) | |
| parent | b5885c43eb479d1ea8beb71aac09b118a08cb855 (diff) | |
| download | godot-61a3bfe7ffa6ae6f929ffe8a2e1c19a6df05d062.tar.gz godot-61a3bfe7ffa6ae6f929ffe8a2e1c19a6df05d062.tar.zst godot-61a3bfe7ffa6ae6f929ffe8a2e1c19a6df05d062.zip | |
Merge pull request #15398 from Jerome67000/fix_image_resize
Fix crash when using Image.resize() without calling Image.create() first
Diffstat (limited to '')
| -rw-r--r-- | doc/classes/Image.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index a01ffc99b..80bef2b38 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -395,6 +395,7 @@ Sets the [Color] of the pixel at [code](x, y)[/code] if the image is locked. Example: [codeblock] var img = Image.new() + img.create(img_width, img_height, false, Image.FORMAT_RGBA8) img.lock() img.set_pixel(x, y, color) # Works img.unlock() |
