bpy_to_abspath
This commit is contained in:
parent
cb40391e0d
commit
0320a18002
1 changed files with 3 additions and 0 deletions
|
@ -392,6 +392,9 @@ def move_in_fontcollection(obj, fontcollection, allow_duplicates=False):
|
||||||
|
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
|
def bpy_to_abspath(blender_path):
|
||||||
|
return os.path.realpath(bpy.path.abspath(blender_path))
|
||||||
|
|
||||||
def register_font_from_filepath(filepath):
|
def register_font_from_filepath(filepath):
|
||||||
from .bimport import get_font_faces_in_file
|
from .bimport import get_font_faces_in_file
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue