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
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-10 01:23:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-10 01:23:15 +0400
commit4dc35836addfcdc888c2e9e6129eb8a3604efa9b (patch)
tree610b2b4d0a71e507c9db5a75ca42775d52718116 /doc
parent4908ded53436992412d1dfccd13b0716054341be (diff)
code cleanup: remove unused variable assignents and added bmesh submodule links, doc correction reported by dfelinto.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/info_tips_and_tricks.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/rst/info_tips_and_tricks.rst b/doc/python_api/rst/info_tips_and_tricks.rst
index 0b9404906e2..521031f5e61 100644
--- a/doc/python_api/rst/info_tips_and_tricks.rst
+++ b/doc/python_api/rst/info_tips_and_tricks.rst
@@ -82,7 +82,7 @@ You might want to reference a script relative to the blend file.
import bpy
import os
- filename = os.path.join(os.path.basename(bpy.data.filepath), "myscript.py")
+ filename = os.path.join(os.path.dirname(bpy.data.filepath), "myscript.py")
exec(compile(open(filename).read(), filename, 'exec'))