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:
-rw-r--r--source/blender/python/api2_2x/doc/Render.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/Render.py b/source/blender/python/api2_2x/doc/Render.py
index 552f6251849..835f9cad9ee 100644
--- a/source/blender/python/api2_2x/doc/Render.py
+++ b/source/blender/python/api2_2x/doc/Render.py
@@ -289,7 +289,12 @@ class RenderData:
def saveRenderedImage(filename, zbuffer=0):
"""
Saves the image rendered using RenderData.render() to the filename and path
- given in the variable 'filename'
+ given in the variable 'filename'.
+
+ Make sure the filename you provide makes a valid path when added to the "render path"
+ (setRenderPath/getRenderPath) to make up the absolute path.
+ If you want to render to a new absolute path just set the renderpath to an
+ empty string and use the absolute path as the filename.
@param filename: The path+filename for the rendered image.
@type zbuffer: int
@param zbuffer: Whether or not to render the zbuffer along with the image.