Skip to content

Commit

Permalink
UE4 wrapper changes for UE 4.23
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborpapp committed Dec 4, 2019
1 parent 804ad9f commit bace638
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ ARuntimeMeshActor::ARuntimeMeshActor(const FObjectInitializer& ObjectInitializer
, bRunGenerateMeshesOnConstruction(true)
, bRunGenerateMeshesOnBeginPlay(false)
{
#if ENGINE_MAJOR_VERSION >= 4 && ENGINE_MINOR_VERSION >= 24
SetCanBeDamaged(false);
#else
bCanBeDamaged = false;
#endif

RuntimeMeshComponent = CreateDefaultSubobject<URuntimeMeshComponent>(TEXT("RuntimeMeshComponent0"));
RuntimeMeshComponent->SetCollisionProfileName(UCollisionProfile::BlockAll_ProfileName);
Expand Down
2 changes: 1 addition & 1 deletion wrappers/unrealengine4/RealSenseUE.uproject
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"FileVersion": 3,
"EngineAssociation": "4.24",
"EngineAssociation": "4.23",
"Category": "",
"Description": "",
"Modules": [
Expand Down

0 comments on commit bace638

Please sign in to comment.