\r
os.remove(mstr_datafolder + "z_orthographic/orthos/" + self._latlngfld + "/" + str(self._ty) + "_" + str(self._tx) + ".png")\r
\r
- # Clear cache\r
- cache = glob.glob(mstr_datafolder + "_cache/*" + str(self._lat) + "-" + str(self._ty) + "_" + str(self._lng) + "-" + str(self._tx) + "*.png")\r
- for f in range(len(cache)):\r
- os.remove(cache[f])\r
-\r
-\r
# Now generate the normal map for this ortho.\r
# But only if this is enabled.\r
if mstr_xp_genscenery and mstr_xp_scn_normalmaps:\r