Skip to content

Commit

Permalink
Fixed errors related to Unreal 5.5 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterJansen committed Nov 25, 2024
1 parent 4562041 commit b160c40
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
// Overwrite the material

#include "Runtime/CoreUObject/Public/UObject/ConstructorHelpers.h"
#include "Runtime/Engine/Classes/Materials/Material.h"
#include "Runtime/Engine/Classes/Materials/MaterialInstanceDynamic.h"
#include "Runtime/Engine/Public/Materials/Material.h"
#include "Runtime/Engine/Public/Materials/MaterialInstanceDynamic.h"
#include "Runtime/Engine/Classes/Engine/StaticMesh.h"
#include "Runtime/Engine/Classes/Components/SkeletalMeshComponent.h"
#include "Runtime/Launch/Resources/Version.h"
Expand Down Expand Up @@ -443,6 +443,9 @@ FBoxSphereBounds UAnnotationComponent::CalcBounds(const FTransform & LocalToWorl
}

FBoxSphereBounds DefaultBounds;
DefaultBounds.Origin = LocalToWorld.GetLocation();
DefaultBounds.BoxExtent = FVector::ZeroVector;
DefaultBounds.SphereRadius = 0.f;
return DefaultBounds;
}

Expand Down

0 comments on commit b160c40

Please sign in to comment.