Fix thinWall and passes
This commit is contained in:
@ -384,7 +384,8 @@ def export_data_impl(fp, sdk_path):
|
||||
os.utime(g, None)
|
||||
|
||||
# Write referenced shader passes
|
||||
if not os.path.isfile(build_dir + '/compiled/Shaders/shader_datas.lnx') or state.last_world_defs != wrd.world_defs:
|
||||
current_passes = tuple(sorted(assets.shader_passes))
|
||||
if not os.path.isfile(build_dir + '/compiled/Shaders/shader_datas.lnx') or state.last_world_defs != wrd.world_defs or getattr(state, 'last_shader_passes', None) != current_passes:
|
||||
res = {'shader_datas': []}
|
||||
|
||||
for ref in assets.shader_passes:
|
||||
@ -431,6 +432,7 @@ def export_data_impl(fp, sdk_path):
|
||||
if not os.path.exists(target):
|
||||
shutil.copy(file, target)
|
||||
state.last_world_defs = wrd.world_defs
|
||||
state.last_shader_passes = current_passes
|
||||
|
||||
# Reset path
|
||||
os.chdir(fp)
|
||||
|
||||
Reference in New Issue
Block a user