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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-29 15:51:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-29 15:51:18 +0400
commit9fccfd313cd52618fed6bca0148154f75431e3c0 (patch)
tree729d6470af0a9bf6be14c62c006577521dbd644e /source/blender/python
parent435ab1710b4d9e98018feb5088cf9418bfe1a607 (diff)
correct addon example, it used both __doc__ and bl_description
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c
index f2222825c42..3bf44e43c56 100644
--- a/source/blender/python/intern/bpy.c
+++ b/source/blender/python/intern/bpy.c
@@ -171,7 +171,7 @@ static PyObject *bpy_user_resource(PyObject *UNUSED(self), PyObject *args, PyObj
}
PyDoc_STRVAR(bpy_resource_path_doc,
-".. function:: resource_path(type, major=2, minor=57)\n"
+".. function:: resource_path(type, major=bpy.app.version[0], minor=bpy.app.version[1])\n"
"\n"
" Return the base path for storing system files.\n"
"\n"