Skip to content

Commit

Permalink
Imported shaders stored the same way as images and videos
Browse files Browse the repository at this point in the history
  • Loading branch information
derwin12 authored and dkulp committed Jan 21, 2024
1 parent 3ca2c24 commit d1d260c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xLights/SequencePackage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ void SequencePackage::InitDefaultImportOptions()

// always default faces/shaders to default download folder as they tend to be reused
_importOptions.SetDir(MediaTargetDir::FACES_DIR, wxString::Format("%s%c%s", showFolder, PATH_SEP, SUBFLD_FACES), true);
_importOptions.SetDir(MediaTargetDir::SHADERS_DIR, wxString::Format("%s%c%s", showFolder, PATH_SEP, SUBFLD_SHADERS), true);

wxFileName targetXsq(_xlights->GetSeqXmlFileName());
wxString targetDir = targetXsq.GetPath();
Expand All @@ -116,6 +115,7 @@ void SequencePackage::InitDefaultImportOptions()
// set the defaults for media sub folders
_importOptions.SetDir(MediaTargetDir::GLEDIATORS_DIR, wxString::Format("%s%c%s", mediaBaseFolder, PATH_SEP, SUBFLD_GLEDIATORS), true);
_importOptions.SetDir(MediaTargetDir::IMAGES_DIR, wxString::Format("%s%c%s", mediaBaseFolder, PATH_SEP, SUBFLD_IMAGES), true);
_importOptions.SetDir(MediaTargetDir::SHADERS_DIR, wxString::Format("%s%c%s", mediaBaseFolder, PATH_SEP, SUBFLD_SHADERS), true);
_importOptions.SetDir(MediaTargetDir::VIDEOS_DIR, wxString::Format("%s%c%s", mediaBaseFolder, PATH_SEP, SUBFLD_VIDEOS), true);
}

Expand Down

0 comments on commit d1d260c

Please sign in to comment.