Fix drawing editor thumbnails when texture used by asset is using dynamic streaming

This commit is contained in:
2026-04-19 22:37:58 +02:00
parent 8553785397
commit 635ef0ad66
12 changed files with 36 additions and 42 deletions
@@ -302,6 +302,12 @@ bool TextureBase::HasStreamingError() const
return _texture.Streaming.Error;
}
void TextureBase::SetStreamingVisible() const
{
if (_texture.GetTexture())
_texture.GetTexture()->LastRenderTime = Platform::GetTimeSeconds();
}
BytesContainer TextureBase::GetMipData(int32 mipIndex, int32& rowPitch, int32& slicePitch)
{
BytesContainer result;