mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 12:51:33 +00:00
Prevent custom shaders being added to the list twice
This commit is contained in:
1 parent
8b64868025
commit
65d407d5a8
1 file changed
+1
-1
@@ -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