Skip to content

Commit

Permalink
Build Shader UI when shader file is touched #3422 (#5180)
Browse files Browse the repository at this point in the history
  • Loading branch information
derwin12 authored Feb 9, 2025
1 parent 6dd8a82 commit 564da4b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xLights/effects/ShaderPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ void ShaderPanel::OnFilePickerCtrl1FileChanged(wxFileDirPickerEvent& event)

bool ShaderPanel::BuildUI(const wxString& filename, SequenceElements* sequenceElements)
{
if (_shaderConfig != nullptr && _shaderConfig->GetFilename() == filename && !_shaderConfig->UsesEvents()) {
return false;
}

Freeze();

FlexGridSizer_Dynamic->DeleteWindows();
Expand Down

0 comments on commit 564da4b

Please sign in to comment.