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-10-17 20:10:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-17 20:10:04 +0400
commit0c2a1500f293a1ae103afece42595f97598d8055 (patch)
tree929f3bedcf667f6be9848b2a1d61bd107fd527f6 /release
parentf83ae34e037aabef4508b517c49223963ab3c844 (diff)
minor changes
- stub from last commit was incorrect (copied old docs) - decimator was making copy of quadric for no reason. - correct typo
Diffstat (limited to 'release')
-rw-r--r--release/scripts/templates/script_stub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/script_stub.py b/release/scripts/templates/script_stub.py
index 69ecbf48d2c..3b3212892d5 100644
--- a/release/scripts/templates/script_stub.py
+++ b/release/scripts/templates/script_stub.py
@@ -7,5 +7,5 @@ import os
# Use your own script name here:
filename = "my_script.py"
-filepath = os.path.join(os.path.basename(bpy.data.filepath), filename)
+filepath = os.path.join(os.path.dirname(bpy.data.filepath), filename)
exec(compile(open(filepath).read(), filepath, 'exec'))