diff --git a/Source/RWTHVRToolkit/Private/Pawn/Navigation/ScalingComponent.cpp b/Source/RWTHVRToolkit/Private/Pawn/Navigation/ScalingComponent.cpp index 74eaa7901a92040059c2bbd3dc12a0bbe9c7b3c4..ddc0bb3b4c259fa7a7dec5d25a8fa7ced41cc4be 100644 --- a/Source/RWTHVRToolkit/Private/Pawn/Navigation/ScalingComponent.cpp +++ b/Source/RWTHVRToolkit/Private/Pawn/Navigation/ScalingComponent.cpp @@ -87,7 +87,7 @@ void UScalingComponent::BeginPlay() // in case of cave, also at this to the equal sized components if(VRPawn->CaveSetupActor) { - UE_LOG(LogTemp,Display,TEXT("Cave Setup Actor is valid and will be added to equal Sized objects")) + //UE_LOG(LogTemp,Display,TEXT("Cave Setup Actor is valid and will be added to equal Sized objects")) //AddEqualSizedActor(VRPawn->CaveSetupActor); } else { @@ -248,14 +248,6 @@ void UScalingComponent::AdjustEqualSizedWorldObjects(float ScaleRatio) CurrActor->SetActorScale3D(CurrentScaling * ScaleRatio); } - if(VRPawn->CaveSetupActor) - { - - UE_LOG(LogTemp,Display,TEXT("Adjust Equal Sized World Objects: cave setup is scaled manually")) - FVector CurrentScaling = VRPawn->CaveSetupActor->GetActorScale3D(); - VRPawn->CaveSetupActor->SetActorScale3D(CurrentScaling * ScaleRatio); - } - // adjust scene components for (USceneComponent* CurrComponent : EqualSizedSceneComponents) {