mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Prevent custom shaders being added to the list twice
This commit is contained in:
@@ -814,7 +814,7 @@ namespace renderdocui.Windows
|
||||
var fn = Path.GetFileNameWithoutExtension(f);
|
||||
var key = fn.ToUpperInvariant();
|
||||
|
||||
if (!m_CustomShaders.ContainsKey(key))
|
||||
if (!m_CustomShaders.ContainsKey(key) && !m_CustomShadersBusy.Contains(key))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user