mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
code cleanup: remove unused variable assignents and added bmesh submodule links, doc correction reported by dfelinto.
This commit is contained in:
parent
4908ded534
commit
4dc35836ad
6 changed files with 12 additions and 13 deletions
|
|
@ -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'))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue