With_editor to With_editoronly_data

This commit is contained in:
Daniel 2019-02-26 22:43:13 +01:00
parent fe4fcb68ba
commit 668865c3a9
2 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ UMapProcessCommandlet::UMapProcessCommandlet()
MarkingNodeMaterialAux = (UMaterial *) RoadNodeAux.Object;
#endif
}
#if WITH_EDITOR
#if WITH_EDITORONLY_DATA
bool UMapProcessCommandlet::ParseParams(const FString& InParams)
{

View File

@ -8,11 +8,11 @@
#include "CoreMinimal.h"
#include <Runtime/Engine/Classes/Engine/ObjectLibrary.h>
#include <OpenDriveActor.h>
#if WITH_EDITOR
#if WITH_EDITORONLY_DATA
#include <Developer/AssetTools/Public/IAssetTools.h>
#include <Developer/AssetTools/Public/AssetToolsModule.h>
#include <AssetRegistry/Public/AssetRegistryModule.h>
#endif //WITH_EDITOR
#endif //WITH_EDITORONLY_DATA
#include <Runtime/Engine/Classes/Engine/StaticMeshActor.h>
#include "MapProcessCommandlet.generated.h"
@ -25,7 +25,7 @@ class UMapProcessCommandlet
public:
/** Default constructor. */
UMapProcessCommandlet();
#if WITH_EDITOR
#if WITH_EDITORONLY_DATA
/**
* Parses the command line parameters
@ -73,7 +73,7 @@ public:
*/
virtual int32 Main(const FString &Params) override;
#endif
#endif //WITH_EDITORONLY_DATA
private: