2
0
Эх сурвалжийг харах

Merge pull request #39521 from 31/fix-image-createfromdata

Fix Image.create_from_data "use_mipmaps" class doc
Rémi Verschelde 5 жил өмнө
parent
commit
808e0d3693
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      doc/classes/Image.xml

+ 1 - 1
doc/classes/Image.xml

@@ -154,7 +154,7 @@
 			<argument index="4" name="data" type="PackedByteArray">
 			</argument>
 			<description>
-				Creates a new image of given size and format. See [enum Format] constants. Fills the image with the given raw data. If [code]use_mipmaps[/code] is [code]true[/code] then generate mipmaps for this image. See the [method generate_mipmaps].
+				Creates a new image of given size and format. See [enum Format] constants. Fills the image with the given raw data. If [code]use_mipmaps[/code] is [code]true[/code] then loads mipmaps for this image from [code]data[/code]. See [method generate_mipmaps].
 			</description>
 		</method>
 		<method name="crop">