From 6aa331e5812ce48aa30ea08ed1adc598c9e5b4f6 Mon Sep 17 00:00:00 2001
From: Sergei ZH
Date: Sun, 26 Nov 2017 17:22:49 +0100
Subject: Further changes to Image class docs
Were missed when squashing the previous 024c4f14.
[ci skip]
---
doc/classes/Image.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index 83c1bad8e..54eaf6cc7 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -318,7 +318,7 @@
- Locks the data and prevents changes.
+ Locks the data for writing access.
@@ -379,10 +379,10 @@
Sets the [Color] of the pixel at [code](x, y)[/code] if the image is locked. Example:
[codeblock]
var img = Image.new()
- img.unlock()
- img.set_pixel(x, y, color) # Does not have an effect
img.lock()
img.set_pixel(x, y, color) # Works
+ img.unlock()
+ img.set_pixel(x, y, color) # Does not have an effect
[/codeblock]
@@ -404,7 +404,7 @@
- Unlocks the data for writing access.
+ Unlocks the data and prevents changes.
--
cgit v1.3.1