Browse Source

Fix incorrect path logic introduced in b588c87

pull/123/head
Adam Johnson 6 years ago
parent
commit
d16f064043
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/convert.py

2
korman/exporter/convert.py

@ -355,7 +355,7 @@ class Exporter:
age = bpy.context.scene.world.plasma_age
filepath = age.texcache_path
try:
valid_path = not filepath or not Path(filepath).is_file()
valid_path = filepath and Path(filepath).is_file()
except OSError:
valid_path = False

Loading…
Cancel
Save