classref: Sync with godotengine/godot#54991 to dehardcode docs URL

This commit is contained in:
Rémi Verschelde
2021-11-15 13:02:32 +01:00
parent 30193215cf
commit b0fb19f75c
175 changed files with 239 additions and 239 deletions

View File

@@ -25,7 +25,7 @@ An ``Image`` cannot be assigned to a ``texture`` property of an object directly
Tutorials
---------
- :doc:`../tutorials/assets_pipeline/importing_images`
- :doc:`Importing images <../tutorials/assets_pipeline/importing_images>`
Properties
----------
@@ -783,7 +783,7 @@ Returns ``true`` if all the image's pixels have an alpha value of 0. Returns ``f
- :ref:`Error<enum_@GlobalScope_Error>` **load** **(** :ref:`String<class_String>` path **)**
Loads an image from file ``path``. See `Supported image formats <https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_images.html#supported-image-formats>`__ for a list of supported image formats and limitations.
Loads an image from file ``path``. See `Supported image formats <../getting_started/workflow/assets/importing_images.html#supported-image-formats>`__ for a list of supported image formats and limitations.
**Warning:** This method should only be used in the editor or in cases when you need to load external images at run-time, such as images located at the ``user://`` directory, and may not work in exported projects.