Closed SeriousBuggie closed 1 year ago
Import sound file goes by call next exec command:
void ImportFile( FString Filename )
{
guard(WDlgImportSound::ImportFile);
if (Group.Len())
GEditor->Exec(*FString::Printf(TEXT("AUDIO IMPORT FILE=\"%ls\" NAME=\"%ls\" PACKAGE=\"%ls\" GROUP=\"%ls\""),
*(*paFilenames)(iCurrentFilename), *Name, *Package, *Group));
else
GEditor->Exec(*FString::Printf(TEXT("AUDIO IMPORT FILE=\"%ls\" NAME=\"%ls\" PACKAGE=\"%ls\""),
*(*paFilenames)(iCurrentFilename), *Name, *Package));
unguard;
}
This related to different thing - Group None not use as empty group name. OGG not matter here.
Reproduce:
None
of new/some package.Expected result: Sound reloaded. Actual result: Sound imported in new random
PackageN
group:Log: FactoryCreateBinary: Sound with SoundFactory (0 0 Z:\UT2K4\Music\KR-Rankin.ogg)