From 0320a18002667cf851101f5a5a71c4ac02cee842 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Fri, 15 Nov 2024 20:17:28 +0100 Subject: [PATCH] bpy_to_abspath --- butils.py | 3 +++ 1 file changed, 3 insertions(+) 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