瀏覽代碼

Adding details about `Image.lock()` function

(cherry picked from commit f1e232460515dc228ebc6c670494bd03ac9f9d9a)
Maxime Leroy 6 年之前
父節點
當前提交
a6316d8a56
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Image.xml

+ 1 - 1
doc/classes/Image.xml

@@ -361,7 +361,7 @@
 			<return type="void">
 			</return>
 			<description>
-				Locks the data for writing access.
+				Locks the data for reading and writing access. Sends an error to the console if the image is not locked when reading or writing a pixel.
 			</description>
 		</method>
 		<method name="normalmap_to_xy">