Skip to content

Commit 42add67

Browse files
committed
Don't skip modified shaders when tex viewer is just in another tab
* We only want to skip these events if the texture viewer has actually been closed and destroyed.
1 parent f5542ea commit 42add67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderdocui/Windows/TextureViewer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ public void OnLogfileLoaded()
11321132

11331133
void CustomShaderModified(object sender, FileSystemEventArgs e)
11341134
{
1135-
if (!Visible || IsDisposed) return;
1135+
if (IsDisposed) return;
11361136

11371137
Thread.Sleep(5);
11381138
BeginInvoke((MethodInvoker)delegate

0 commit comments

Comments
 (0)