bpy_to_abspath

This commit is contained in:
themancalledjakob 2024-11-15 20:17:28 +01:00
parent cb40391e0d
commit 0320a18002

View file

@ -392,6 +392,9 @@ def move_in_fontcollection(obj, fontcollection, allow_duplicates=False):
return obj
def bpy_to_abspath(blender_path):
return os.path.realpath(bpy.path.abspath(blender_path))
def register_font_from_filepath(filepath):
from .bimport import get_font_faces_in_file