Skip to content

Commit

Permalink
fixed ue4 build
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed May 17, 2023
1 parent bed7e8f commit 3a403e0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion Source/glTFRuntime/Private/glTFRuntimeParser.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
// Copyright 2020-2023, Roberto De Ioris.

#include "glTFRuntimeParser.h"
#include "Runtime/Launch/Resources/Version.h"
#include "Engine/Texture2D.h"
#include "Misc/FileHelper.h"
#include "Serialization/JsonSerializer.h"
#include "Animation/Skeleton.h"
#include "Materials/Material.h"
#if ENGINE_MAJOR_VERSION >= 5
#include "MaterialDomain.h"
#else
#include "MaterialShared.h"
#endif
#include "Misc/Base64.h"
#include "Misc/Compression.h"
#include "Misc/Paths.h"
#include "Interfaces/IPluginManager.h"
#if ENGINE_MAJOR_VERSION >= 5
#include "RenderMath.h"
#include "Runtime/Launch/Resources/Version.h"
#else
#include "RenderUtils.h"
#endif

DEFINE_LOG_CATEGORY(LogGLTFRuntime);

Expand Down
6 changes: 5 additions & 1 deletion Source/glTFRuntime/Private/glTFRuntimeParserMaterials.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
// Copyright 2020-2023, Roberto De Ioris.

#include "glTFRuntimeParser.h"
#include "Runtime/Launch/Resources/Version.h"
#include "Engine/Texture2D.h"
#include "IImageWrapperModule.h"
#include "IImageWrapper.h"
#include "ImageUtils.h"
#include "Misc/FileHelper.h"
#if ENGINE_MAJOR_VERSION >= 5
#include "MaterialDomain.h"
#else
#include "MaterialShared.h"
#endif
#include "Materials/Material.h"
#include "Materials/MaterialInstanceDynamic.h"
#include "Math/UnrealMathUtility.h"
#include "Modules/ModuleManager.h"
#include "Runtime/Launch/Resources/Version.h"
#include "TextureResource.h"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
#endif
#endif
#include "Engine/SkeletalMeshSocket.h"
#if ENGINE_MAJOR_VERSION >= 5
#include "Engine/SkinnedAssetCommon.h"
#else
#include "Engine/SkeletalMesh.h"
#endif
#include "glTFAnimBoneCompressionCodec.h"
#include "glTFAnimCurveCompressionCodec.h"
#include "Model.h"
Expand Down

0 comments on commit 3a403e0

Please sign in to comment.