font path adventures with Mac OS
This commit is contained in:
parent
edb2c8cb8b
commit
3631ac8e49
2 changed files with 71 additions and 89 deletions
|
@ -416,7 +416,7 @@ def register_font_from_filepath(filepath):
|
|||
|
||||
def load_font_from_filepath(filepath, glyphs="", font_name="", face_name=""):
|
||||
if not filepath.endswith(".glb") and not filepath.endswith(".gltf"):
|
||||
ShowMessageBox(f"{bl_info['name']} Font loading error", 'ERROR', f"Filepath({filepath}) is not a *.glb or *.gltf file")
|
||||
ShowMessageBox(f"Font loading error", 'ERROR', f"Filepath({filepath}) is not a *.glb or *.gltf file")
|
||||
return False
|
||||
|
||||
marker_property = "font_import"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue