Substitute textures inherit download size from original
This commit is contained in:
@@ -301,7 +301,9 @@ public class PlayerPerformanceService : DisposableMediatorSubscriberBase
|
|||||||
writer.Dispose();
|
writer.Dispose();
|
||||||
|
|
||||||
File.Move(tmpFilePath, newFilePath);
|
File.Move(tmpFilePath, newFilePath);
|
||||||
_fileCacheManager.CreateSubstEntry(newFilePath);
|
var substEntry = _fileCacheManager.CreateSubstEntry(newFilePath);
|
||||||
|
if (substEntry != null)
|
||||||
|
substEntry.CompressedSize = fileEntry.CompressedSize;
|
||||||
shrunken = true;
|
shrunken = true;
|
||||||
|
|
||||||
// Make sure its a cache file before trying to delete it !!
|
// Make sure its a cache file before trying to delete it !!
|
||||||
|
|||||||
Reference in New Issue
Block a user