diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-17 20:10:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-17 20:10:04 +0400 |
commit | 0c2a1500f293a1ae103afece42595f97598d8055 (patch) | |
tree | 929f3bedcf667f6be9848b2a1d61bd107fd527f6 /release/scripts/templates | |
parent | f83ae34e037aabef4508b517c49223963ab3c844 (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/scripts/templates')
-rw-r--r-- | release/scripts/templates/script_stub.py | 2 |
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')) |