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:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-11-02 08:13:52 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2004-11-02 08:13:52 +0300
commit073715333881762b459f9d41547e8b6e10f07fea (patch)
tree55a33006875bdf557be66c1e8624074dde7ccc1d /source/blender/python/api2_2x/doc/Blender.py
parentbad7e33eacdc33e63407185be2c120331bbee8d0 (diff)
BPython:
-- applied patch by Michael Reimpell that lets scripts registration info be either commented out or not (commented, it doesn't interfere with Python documentation tools. The patch also fixes potential overflows, thanks (and sorry for the confusion) again, Michael. -- fixed NMesh_hasFaceUV, it was returning true for false and vice-versa. Reported by Jonas Petersen with patch, thanks. -- added 'homedir' and 'uscriptsdir' to Blender.Get() to get Blender's home dir and the user defined scripts dir. -- related to the above doc updates.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Blender.py')
-rw-r--r--source/blender/python/api2_2x/doc/Blender.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/Blender.py b/source/blender/python/api2_2x/doc/Blender.py
index c6bb41a3d6d..a864566c4e5 100644
--- a/source/blender/python/api2_2x/doc/Blender.py
+++ b/source/blender/python/api2_2x/doc/Blender.py
@@ -10,7 +10,7 @@
"""
The main Blender module.
-B{New}: 'scriptsdir' parameter in L{Get}.
+B{New}: 'homedir', 'scriptsdir' and 'uscriptsdir' parameters in L{Get}.
Blender
=======
@@ -36,11 +36,15 @@ def Get (request):
- 'staframe': the start frame of the animation
- 'endframe': the end frame of the animation
- 'filename': the name of the last file read or written
+ - 'homedir': Blender's home dir
- 'datadir' : the path to the dir where scripts should store and
retrieve their data files, including saved configuration (can
be None, if not found).
- 'scriptsdir': the path to the main dir where scripts are stored
(can be None, if not found).
+ - 'uscriptsdir': the path to the user defined dir for scripts, see
+ the paths tab in the User Preferences window in Blender
+ (can be None, if not found).
- 'version' : the Blender version number
@return: The requested data.
"""