浏览代码

make this editor cache thing editor only

make this editor cache thing editor only
/Branch_Batching2
mmikk 8 年前
当前提交
11d5531b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Assets/ScriptableRenderPipeline/common/TextureCache.cs

3
Assets/ScriptableRenderPipeline/common/TextureCache.cs


{
sliceIndex = m_LocatorInSliceArray[texId];
bFoundAvailOrExistingSlice = true;
#if UNITY_EDITOR
if(m_TextureCacheVersion!=s_GlobalTextureCacheVersion)
{
m_TextureCacheVersion++;

#endif
//assert(m_SliceArray[sliceIndex].TexID==TexID);
}

正在加载...
取消
保存