diff --git a/butils.py b/butils.py index af7617d..ebef8b0 100644 --- a/butils.py +++ b/butils.py @@ -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