Skip to content

Commit

Permalink
fixed ue5 and 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Mar 3, 2024
1 parent d1f5605 commit fe343d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/glTFRuntime/Private/glTFRuntimeParserStaticMeshes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
#include "Runtime/Launch/Resources/Version.h"
#include "StaticMeshResources.h"
#if ENGINE_MAJOR_VERSION >= 5
#if ENGINE_MINOR_VERSION < 2
#include "MeshCardRepresentation.h"
#else
#undef UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2
#define UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2 0
#include "MeshCardBuild.h"
#endif
#endif

FglTFRuntimeStaticMeshContext::FglTFRuntimeStaticMeshContext(TSharedRef<FglTFRuntimeParser> InParser, const FglTFRuntimeStaticMeshConfig& InStaticMeshConfig) :
Parser(InParser),
Expand Down

0 comments on commit fe343d6

Please sign in to comment.