Skip to content

Commit

Permalink
Merge pull request #64 from wit-ai/remove_content
Browse files Browse the repository at this point in the history
remove_content
  • Loading branch information
wangpingsx authored Jan 24, 2023
2 parents 1aa6020 + 5e2da0e commit 7445fa9
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 7 deletions.
Binary file not shown.
Binary file removed Content/Demo/Blueprints/BP_TtsSpeaker.uasset
Binary file not shown.
Binary file removed Content/Demo/Configuration/ShapeConfiguration.uasset
Binary file not shown.
Binary file removed Content/Demo/Levels/ShapesDemo.umap
Binary file not shown.
Binary file removed Content/Demo/Textures/ShapeMaterial.uasset
Binary file not shown.
Binary file removed Content/Demo/Widgets/WitUIExample.uasset
Binary file not shown.
Binary file removed Content/Presets/Charlie.uasset
Binary file not shown.
Binary file removed Content/Presets/Cooper.uasset
Binary file not shown.
Binary file removed Content/Presets/Rebecca.uasset
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,7 @@ FReply FTtsConfigurationDetailCustomization::OnCreatePresetButtonClicked()
{
const FString PresetAssetName = AvailableVoice.Name;

FString PackagePath = FString::Printf(TEXT("/Wit/Presets/%s"), *PresetAssetName);
#if WITH_VOICESDK_MARKETPLACE
PackagePath = FString::Printf(TEXT("/Game/VoiceSDK/Presets/%s"), *PresetAssetName);
#elif WITH_VOICESDK
PackagePath = FString::Printf(TEXT("/VoiceSDK/Presets/%s"), *PresetAssetName);
#endif
FString PackagePath = FString::Printf(TEXT("/Game/VoiceSDK/Presets/%s"), *PresetAssetName);

UPackage* PresetPackage = CreatePackage(*PackagePath);

Expand All @@ -276,7 +271,6 @@ FReply FTtsConfigurationDetailCustomization::OnCreatePresetButtonClicked()

(void)PresetAsset->MarkPackageDirty();
PresetPackage->MarkPackageDirty();


FAssetRegistryModule::AssetCreated(PresetAsset);
const FString PackageFileName = FPackageName::LongPackageNameToFilename(PackagePath, FPackageName::GetAssetPackageExtension());
Expand Down

0 comments on commit 7445fa9

Please sign in to comment.