Removed cache clearing at the end of genphoto
This commit is contained in:
parent
c7f96e7783
commit
58f626abe1
@ -228,12 +228,6 @@ class mstr_photogen:
|
||||
|
||||
os.remove(mstr_datafolder + "z_orthographic/orthos/" + self._latlngfld + "/" + str(self._ty) + "_" + str(self._tx) + ".png")
|
||||
|
||||
# Clear cache
|
||||
cache = glob.glob(mstr_datafolder + "_cache/*" + str(self._lat) + "-" + str(self._ty) + "_" + str(self._lng) + "-" + str(self._tx) + "*.png")
|
||||
for f in range(len(cache)):
|
||||
os.remove(cache[f])
|
||||
|
||||
|
||||
# Now generate the normal map for this ortho.
|
||||
# But only if this is enabled.
|
||||
if mstr_xp_genscenery and mstr_xp_scn_normalmaps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user