Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/api2_2x/doc/Image.py')
-rw-r--r--source/blender/python/api2_2x/doc/Image.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Image.py b/source/blender/python/api2_2x/doc/Image.py
index 40ca9328617..4c8a525d513 100644
--- a/source/blender/python/api2_2x/doc/Image.py
+++ b/source/blender/python/api2_2x/doc/Image.py
@@ -104,6 +104,15 @@ class Image:
This is for texture tiling.
@rtype: int
"""
+ def reload():
+ """
+ Reloads this image from the filesystem. If used within a loop you need to
+ redraw the Window to see the change in the image, e.g. with
+ Window.RedrawAll().
+ @warn: if the image file is corrupt or still being written, it will be
+ replaced by a blank image in Blender, but no error will be returned.
+ @returns: None
+ """
def setName(name):
"""