Skip to content

Commit 39369ec

Browse files
committed
Update ElgEditorBP_Assets.cpp
AssetPathToDiskPath:: Removed the unused path variable. Fixed so assetData no longer is static...
1 parent ac75a6b commit 39369ec

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Plugins/ElgEditorScripting/Source/ElgEditorScripting/Private/Blueprints/ElgEditorBP_Assets.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,7 @@ TArray<FString> UElgEditorBP_Assets::GetSelectedPaths()
459459

460460
FString UElgEditorBP_Assets::AssetPathToDiskPath(const FString& InAssetPath)
461461
{
462-
FString path;
463-
static FAssetData assetData = GetAssetDataFromPath(InAssetPath);
462+
FAssetData assetData = GetAssetDataFromPath(InAssetPath);
464463
return GetAssetDiskPath(assetData);
465464
}
466465

0 commit comments

Comments
 (0)