revamp installing fonts
This commit is contained in:
parent
5e881ad864
commit
28e664cd6c
3 changed files with 53 additions and 10 deletions
|
@ -25,7 +25,7 @@ def get_font_faces_in_file(filepath):
|
|||
for node in gltf_importer.data.nodes:
|
||||
if type(node.extras) != type(None) \
|
||||
and "glyph" in node.extras \
|
||||
and not ("type" in node.extras and node.extras["type"] is "metrics"):
|
||||
and not ("type" in node.extras and node.extras["type"] == "metrics"):
|
||||
out.append(node.extras)
|
||||
return out
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue