Add check for platform mesh & texture

It simply checks if the file exists
This commit is contained in:
Jaime van Kessel 2019-02-15 14:42:50 +01:00
parent c3b447cd89
commit 338f9c0052
8 changed files with 11 additions and 7 deletions

View file

@ -41,6 +41,7 @@ def collectAllSettingIds():
definition_container.deserialize(data.read())
return definition_container.getAllKeys()
def collectAllVariants():
result = []
for root, directories, filenames in os.walk(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "resources", "variants"))):