code cleanup: remove unused variable assignents and added bmesh submodule links, doc correction reported by dfelinto.

This commit is contained in:
2012-03-09 21:23:15 +00:00
parent 4908ded534
commit 4dc35836ad
6 changed files with 12 additions and 13 deletions

View File

@@ -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'))