Fix for examples

This commit is contained in:
Insality
2025-01-29 23:13:09 +02:00
parent db0c4c8ee5
commit da5c6b9a54
9 changed files with 319 additions and 32 deletions

View File

@@ -31,7 +31,7 @@ def main():
texture = node.get_attribute("texture")
font = node.get_attribute("font")
if texture:
if texture and texture.value:
layer = texture.value.split("/")[0]
node.set_attribute("layer", layer)