From 0c2a1500f293a1ae103afece42595f97598d8055 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Oct 2012 16:10:04 +0000 Subject: minor changes - stub from last commit was incorrect (copied old docs) - decimator was making copy of quadric for no reason. - correct typo --- release/scripts/templates/script_stub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') 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')) -- cgit v1.2.3