Skip to content

Commit

Permalink
Fix deprecated access for skeletal mesh asset
Browse files Browse the repository at this point in the history
  • Loading branch information
dyanikoglu committed Dec 13, 2022
1 parent c85ea38 commit efec6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ALSV4_CPP/Private/Components/ALSDebugComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void UALSDebugComponent::ToggleDebugMesh()
}
else
{
DefaultSkeletalMesh = OwnerCharacter->GetMesh()->SkeletalMesh;
DefaultSkeletalMesh = OwnerCharacter->GetMesh()->GetSkeletalMeshAsset();
OwnerCharacter->SetVisibleMesh(DebugSkeletalMesh);
}
bDebugMeshVisible = !bDebugMeshVisible;
Expand Down

0 comments on commit efec6e7

Please sign in to comment.