From 967b6585e1f2c24360fd2a353f3692ed12626beb Mon Sep 17 00:00:00 2001
From: VNC <52937757+VNNCC@users.noreply.github.com>
Date: Tue, 29 Dec 2020 03:31:13 +0100
Subject: [PATCH] Fix more typos in Source\Engine\Animations
---
Source/Engine/Animations/Graph/AnimGraph.h | 8 ++++----
Source/Engine/Animations/InverseKinematics.h | 2 +-
.../Engine/Animations/SceneAnimations/SceneAnimation.cpp | 2 +-
Source/Engine/Animations/SceneAnimations/SceneAnimation.h | 2 +-
.../Animations/SceneAnimations/SceneAnimationPlayer.h | 6 +++---
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Source/Engine/Animations/Graph/AnimGraph.h b/Source/Engine/Animations/Graph/AnimGraph.h
index 2da3198f6..1b2033b2e 100644
--- a/Source/Engine/Animations/Graph/AnimGraph.h
+++ b/Source/Engine/Animations/Graph/AnimGraph.h
@@ -443,7 +443,7 @@ public:
struct MultiBlend1DData
{
///
- /// The computed length of the mixes animations. Shared for all blend points to provide mor stabilization during looped playback.
+ /// The computed length of the mixes animations. Shared for all blend points to provide more stabilization during looped playback.
///
float Length;
@@ -456,7 +456,7 @@ public:
struct MultiBlend2DData
{
///
- /// The computed length of the mixes animations. Shared for all blend points to provide mor stabilization during looped playback.
+ /// The computed length of the mixes animations. Shared for all blend points to provide more stabilization during looped playback.
///
float Length;
@@ -757,7 +757,7 @@ public:
public:
///
- /// The Anim Graph data version number. Used to sync the Anim Graph data with the instances state. Handles Anim Graph reloads to enure data is valid.
+ /// The Anim Graph data version number. Used to sync the Anim Graph data with the instances state. Handles Anim Graph reloads to ensure data is valid.
///
uint32 Version = 0;
@@ -834,7 +834,7 @@ private:
public:
#if USE_EDITOR
- // Custom event that is called every time the Anim Graph signal flows over the graph (including the data connections). Can be used to read nad visualize the animation blending logic.
+ // Custom event that is called every time the Anim Graph signal flows over the graph (including the data connections). Can be used to read and visualize the animation blending logic.
static Delegate DebugFlow;
#endif
diff --git a/Source/Engine/Animations/InverseKinematics.h b/Source/Engine/Animations/InverseKinematics.h
index 37e6d710f..f9cc75a77 100644
--- a/Source/Engine/Animations/InverseKinematics.h
+++ b/Source/Engine/Animations/InverseKinematics.h
@@ -29,7 +29,7 @@ public:
/// The end node transformation (in model space).
/// The target position of the end node to reach (in model space).
/// The target position of the middle node to face into (in model space).
- /// True if allow bones stretching, otherwise bone lengths will be preserved when trying to reach teh target.
+ /// True if allow bones stretching, otherwise bone lengths will be preserved when trying to reach the target.
/// The maximum scale when stretching bones. Used only if allowStretching is true.
static void SolveTwoBoneIK(Transform& rootNode, Transform& jointNode, Transform& targetNode, const Vector3& target, const Vector3& jointTarget, bool allowStretching = false, float maxStretchScale = 1.5f);
};
diff --git a/Source/Engine/Animations/SceneAnimations/SceneAnimation.cpp b/Source/Engine/Animations/SceneAnimations/SceneAnimation.cpp
index aa9adccb6..336995fc4 100644
--- a/Source/Engine/Animations/SceneAnimations/SceneAnimation.cpp
+++ b/Source/Engine/Animations/SceneAnimations/SceneAnimation.cpp
@@ -289,7 +289,7 @@ Asset::LoadResult SceneAnimation::load()
trackRuntime->DataType = CurvePropertyTrack::DataTypes::Color32;
if (trackRuntime->DataType == CurvePropertyTrack::DataTypes::Unknown)
{
- LOG(Warning, "Unknwon curve animation property type {2} for the track {1}, type {0}.", (int32)track.Type, track.Name, String(trackRuntime->PropertyTypeName));
+ LOG(Warning, "Unknown curve animation property type {2} for the track {1}, type {0}.", (int32)track.Type, track.Name, String(trackRuntime->PropertyTypeName));
track.Disabled = true;
}
needsParent = true;
diff --git a/Source/Engine/Animations/SceneAnimations/SceneAnimation.h b/Source/Engine/Animations/SceneAnimations/SceneAnimation.h
index cd14fdcae..ae0786492 100644
--- a/Source/Engine/Animations/SceneAnimations/SceneAnimation.h
+++ b/Source/Engine/Animations/SceneAnimations/SceneAnimation.h
@@ -102,7 +102,7 @@ public:
void* Data;
///
- /// The track dependant data (from the shared runtime allocation).
+ /// The track dependent data (from the shared runtime allocation).
///
void* RuntimeData;
diff --git a/Source/Engine/Animations/SceneAnimations/SceneAnimationPlayer.h b/Source/Engine/Animations/SceneAnimations/SceneAnimationPlayer.h
index 31a6f9757..503aa9ad2 100644
--- a/Source/Engine/Animations/SceneAnimations/SceneAnimationPlayer.h
+++ b/Source/Engine/Animations/SceneAnimations/SceneAnimationPlayer.h
@@ -129,7 +129,7 @@ public:
public:
///
- /// Gets the value that determinates whether the scene animation is playing.
+ /// Gets the value that determines whether the scene animation is playing.
///
API_PROPERTY() FORCE_INLINE bool IsPlaying() const
{
@@ -137,7 +137,7 @@ public:
}
///
- /// Gets the value that determinates whether the scene animation is paused.
+ /// Gets the value that determines whether the scene animation is paused.
///
API_PROPERTY() FORCE_INLINE bool IsPaused() const
{
@@ -145,7 +145,7 @@ public:
}
///
- /// Gets the value that determinates whether the scene animation is stopped.
+ /// Gets the value that determines whether the scene animation is stopped.
///
API_PROPERTY() FORCE_INLINE bool IsStopped() const
{