Fixed a ton of typos
This commit is contained in:
@@ -141,7 +141,7 @@ bool AndroidPlatformTools::OnPostProcess(CookingData& data)
|
||||
const auto c = packageName[i];
|
||||
if (c != '_' && c != '.' && !StringUtils::IsAlnum(c))
|
||||
{
|
||||
LOG(Error, "Android Package Name \'{0}\' contains invalid chaarcter. Only letters, numbers, dots and underscore characters are allowed.", packageName);
|
||||
LOG(Error, "Android Package Name \'{0}\' contains invalid character. Only letters, numbers, dots and underscore characters are allowed.", packageName);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ bool UWPPlatformTools::OnScriptsStepDone(CookingData& data)
|
||||
const String assembliesPath = data.OutputPath;
|
||||
if (FileSystem::CopyFile(assembliesPath / TEXT("Newtonsoft.Json.dll"), customBinPath))
|
||||
{
|
||||
data.Error(TEXT("Failed to copy deloy custom assembly."));
|
||||
data.Error(TEXT("Failed to copy deploy custom assembly."));
|
||||
return true;
|
||||
}
|
||||
FileSystem::DeleteFile(assembliesPath / TEXT("Newtonsoft.Json.pdb"));
|
||||
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
/// <summary>
|
||||
/// Gets the value indicating whenever platform requires AOT.
|
||||
/// </summary>
|
||||
/// <returns>True if platform uses AOT and needs C# assemblies to be be precompiled, otherwise false.</returns>
|
||||
/// <returns>True if platform uses AOT and needs C# assemblies to be precompiled, otherwise false.</returns>
|
||||
virtual bool UseAOT() const
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// The flag used to determine if a project was used with the older engine version last time it was opened. Some cached data should be regenerated to prevent version difference issues. The version number comparision is based on major and minor part of the version. Build number is ignored.
|
||||
/// The flag used to determine if a project was used with the older engine version last time it was opened. Some cached data should be regenerated to prevent version difference issues. The version number comparison is based on major and minor part of the version. Build number is ignored.
|
||||
/// </summary>
|
||||
static bool IsOldProjectOpened;
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ namespace FlaxEditor.GUI
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Filters teh given value using the the <see cref="UseMode"/>.
|
||||
/// Filters the given value using the <see cref="UseMode"/>.
|
||||
/// </summary>
|
||||
/// <param name="mode">The mode.</param>
|
||||
/// <param name="value">The value to process.</param>
|
||||
|
||||
@@ -186,7 +186,7 @@ namespace FlaxEditor.GUI.Dialogs
|
||||
// Clean up
|
||||
_window = null;
|
||||
|
||||
// Check if any thead is blocked during ShowDialog, then wait for it
|
||||
// Check if any thread is blocked during ShowDialog, then wait for it
|
||||
bool wait = true;
|
||||
while (wait)
|
||||
{
|
||||
|
||||
@@ -120,7 +120,7 @@ namespace FlaxEditor.GUI
|
||||
/// <summary>
|
||||
/// Draws the column.
|
||||
/// </summary>
|
||||
/// <param name="rect">The the header area rectangle.</param>
|
||||
/// <param name="rect">The header area rectangle.</param>
|
||||
/// <param name="columnIndex">The zero-based index of the column.</param>
|
||||
protected virtual void DrawColumn(ref Rectangle rect, int columnIndex)
|
||||
{
|
||||
|
||||
@@ -401,7 +401,7 @@ namespace FlaxEditor.GUI
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts the input point from editor editor contents control space into the keyframes time/value coordinates.
|
||||
/// Converts the input point from editor contents control space into the keyframes time/value coordinates.
|
||||
/// </summary>
|
||||
/// <param name="point">The point.</param>
|
||||
/// <param name="keyframesContentAreaBounds">The keyframes contents area bounds.</param>
|
||||
|
||||
@@ -179,7 +179,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Evaluates the member value value at the specified time.
|
||||
/// Evaluates the member value at the specified time.
|
||||
/// </summary>
|
||||
/// <param name="time">The time to evaluate the member at.</param>
|
||||
/// <returns>The member value at provided time.</returns>
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace FlaxEditor.Modules
|
||||
/// <summary>
|
||||
/// Removes a quick action by name.
|
||||
/// </summary>
|
||||
/// <param name="name">Thr action's name.</param>
|
||||
/// <param name="name">The action's name.</param>
|
||||
/// <returns>True when it succeed, false if there is no Quick Action with this name.</returns>
|
||||
public bool RemoveQuickAction(string name)
|
||||
{
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace FlaxEditor.Options
|
||||
private readonly Dictionary<string, CreateCustomSettingsDelegate> _customSettings = new Dictionary<string, CreateCustomSettingsDelegate>();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the custom settings factories. Each entry defines the custom settings type identified by teh given key name. The value si a factory function that returns the default options fpr a given type.
|
||||
/// Gets the custom settings factories. Each entry defines the custom settings type identified by the given key name. The value is a factory function that returns the default options for a given type.
|
||||
/// </summary>
|
||||
public IReadOnlyDictionary<string, CreateCustomSettingsDelegate> CustomSettings => _customSettings;
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace FlaxEditor.Progress
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when progress action gets updated (changed nfo text or progress value).
|
||||
/// Called when progress action gets updated (changed info text or progress value).
|
||||
/// </summary>
|
||||
/// <param name="progress">The progress (normalized to range [0;1]).</param>
|
||||
/// <param name="infoText">The information text.</param>
|
||||
|
||||
@@ -204,7 +204,7 @@ bool ProjectInfo::LoadProject(const String& projectPath)
|
||||
reference.Project = Load(referencePath);
|
||||
if (reference.Project == nullptr)
|
||||
{
|
||||
LOG(Error, "Faield to load referenced project ({0}, from {1})", reference.Name, referencePath);
|
||||
LOG(Error, "Failed to load referenced project ({0}, from {1})", reference.Name, referencePath);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -277,7 +277,7 @@ bool ProjectInfo::LoadOldProject(const String& projectPath)
|
||||
flaxReference.Project = Load(Globals::StartupFolder / TEXT("Flax.flaxproj"));
|
||||
if (!flaxReference.Project)
|
||||
{
|
||||
ShowProjectLoadError(TEXT("Failed to load Flax Engien project."), projectPath);
|
||||
ShowProjectLoadError(TEXT("Failed to load Flax Engine project."), projectPath);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
{
|
||||
if (dwRejectType == SERVERCALL_RETRYLATER)
|
||||
{
|
||||
// Retry immediatey
|
||||
// Retry immediately
|
||||
return 99;
|
||||
}
|
||||
|
||||
|
||||
@@ -1046,7 +1046,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
startPos += nrm;
|
||||
endPos += nrm;
|
||||
|
||||
// Swap fo the other arrow
|
||||
// Swap for the other arrow
|
||||
if (!diff)
|
||||
{
|
||||
var tmp = startPos;
|
||||
|
||||
@@ -1176,7 +1176,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
[EditorOrder(0), Tooltip("The name of the parameter."), ExpandGroups]
|
||||
public string Name;
|
||||
|
||||
[EditorOrder(1), Tooltip("The type fo the parameter value.")]
|
||||
[EditorOrder(1), Tooltip("The type for the parameter value.")]
|
||||
[TypeReference(typeof(object), nameof(IsTypeValid))]
|
||||
public ScriptType Type;
|
||||
|
||||
@@ -1547,7 +1547,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
// Check if return type has been changed
|
||||
if (_signature.ReturnType != prevReturnType)
|
||||
{
|
||||
// Update all return nodes used by this function to match teh new type
|
||||
// Update all return nodes used by this function to match the new type
|
||||
var usedNodes = DepthFirstTraversal(false);
|
||||
var hasAnyReturnNode = false;
|
||||
foreach (var node in usedNodes)
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
public Dictionary<Type, NodeElementArchetype[]> Prototypes = DefaultPrototypes;
|
||||
|
||||
/// <summary>
|
||||
/// The default prototypes for thr node elements to use for the given parameter type.
|
||||
/// The default prototypes for the node elements to use for the given parameter type.
|
||||
/// </summary>
|
||||
public static readonly Dictionary<Type, NodeElementArchetype[]> DefaultPrototypes = new Dictionary<Type, NodeElementArchetype[]>
|
||||
{
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace FlaxEditor.Surface
|
||||
/// Validates the parameter drag operation.
|
||||
/// </summary>
|
||||
/// <param name="parameterName">Name of the parameter.</param>
|
||||
/// <returns>Tre if can drag that parameter, otherwise false.</returns>
|
||||
/// <returns>True if can drag that parameter, otherwise false.</returns>
|
||||
protected virtual bool ValidateDragParameter(string parameterName)
|
||||
{
|
||||
return GetParameter(parameterName) != null;
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace FlaxEditor.Surface
|
||||
// Check if has cached groups
|
||||
if (_cache.Count != 0)
|
||||
{
|
||||
// Check if context menu doesn;t have the recent cached groups
|
||||
// Check if context menu doesn't have the recent cached groups
|
||||
if (!contextMenu.Groups.Any(g => g.Archetype.Tag is int asInt && asInt == _version))
|
||||
{
|
||||
var groups = contextMenu.Groups.Where(g => g.Archetype.Tag is int).ToArray();
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace FlaxEditor.Tools.Terrain.Paint
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The tool strength (normalized to range 0-1). Defines the intensity of the paint operation to make it stronger or mre subtle.
|
||||
/// The tool strength (normalized to range 0-1). Defines the intensity of the paint operation to make it stronger or more subtle.
|
||||
/// </summary>
|
||||
[EditorOrder(0), Limit(0, 10, 0.01f), Tooltip("The tool strength (normalized to range 0-1). Defines the intensity of the paint operation to make it stronger or more subtle.")]
|
||||
public float Strength = 1.0f;
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace FlaxEditor.Tools.Terrain.Sculpt
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The tool strength (normalized to range 0-1). Defines the intensity of the sculpt operation to make it stronger or mre subtle.
|
||||
/// The tool strength (normalized to range 0-1). Defines the intensity of the sculpt operation to make it stronger or more subtle.
|
||||
/// </summary>
|
||||
[EditorOrder(0), Limit(0, 6, 0.01f), Tooltip("The tool strength (normalized to range 0-1). Defines the intensity of the sculpt operation to make it stronger or more subtle.")]
|
||||
public float Strength = 1.2f;
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace FlaxEditor.Tools
|
||||
set => Tab._gizmoMode.BrushStrength = value;
|
||||
}
|
||||
|
||||
[EditorOrder(20), EditorDisplay("Brush"), Limit(0.0f, 1.0f, 0.01f), Tooltip("The falloff parameter fo the brush. Adjusts the paint strength for the vertices that are far from the brush center. Use lower values to make painting smoother and softer.")]
|
||||
[EditorOrder(20), EditorDisplay("Brush"), Limit(0.0f, 1.0f, 0.01f), Tooltip("The falloff parameter for the brush. Adjusts the paint strength for the vertices that are far from the brush center. Use lower values to make painting smoother and softer.")]
|
||||
public float BrushFalloff
|
||||
{
|
||||
get => Tab._gizmoMode.BrushFalloff;
|
||||
|
||||
@@ -247,7 +247,7 @@ void UpdateIconData(uint8* iconData, const TextureData* icon)
|
||||
iconTexSize = Math::RoundUpToPowerOf2(width);
|
||||
}
|
||||
|
||||
// Try to pick a proper mip (requrie the same size)
|
||||
// Try to pick a proper mip (require the same size)
|
||||
const TextureMipData* srcPixels = nullptr;
|
||||
int32 mipLevels = icon->GetMipLevels();
|
||||
for (int32 mipIndex = 0; mipIndex < mipLevels; mipIndex++)
|
||||
|
||||
@@ -251,7 +251,7 @@ namespace FlaxEditor.Utilities
|
||||
|
||||
var list = new List<MemberComparison>();
|
||||
#if DEBUG_OBJECT_SNAPSHOT_COMPARISION
|
||||
Debug.Logger.LogHandler.LogWrite(LogType.Warning, "-------------- Comparision --------------");
|
||||
Debug.Logger.LogHandler.LogWrite(LogType.Warning, "-------------- Comparison --------------");
|
||||
#endif
|
||||
for (int i = _members.Count - 1; i >= 0; i--)
|
||||
{
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace FlaxEditor.Utilities
|
||||
/// </summary>
|
||||
/// <param name="oper1">The first operator.</param>
|
||||
/// <param name="oper2">The second operator.</param>
|
||||
/// <returns>The comparision result.</returns>
|
||||
/// <returns>The comparison result.</returns>
|
||||
private static bool CompareOperators(string oper1, string oper2)
|
||||
{
|
||||
var op1 = Operators[oper1];
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace FlaxEditor.Viewport.Cameras
|
||||
public bool IsAnimatingMove => _moveStartTime > Mathf.Epsilon;
|
||||
|
||||
/// <summary>
|
||||
/// The target point location. It's used to orbit around it whe user clicks Alt+LMB.
|
||||
/// The target point location. It's used to orbit around it when user clicks Alt+LMB.
|
||||
/// </summary>
|
||||
public Vector3 TargetPoint = new Vector3(-200);
|
||||
|
||||
|
||||
@@ -288,7 +288,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
public abstract class AssetEditorWindowBase<T> : AssetEditorWindow where T : Asset
|
||||
{
|
||||
/// <summary>
|
||||
/// Flag set to true if window is is waiting for asset to be loaded (to send <see cref="OnAssetLoaded"/> or <see cref="OnAssetLoadFailed"/> events).
|
||||
/// Flag set to true if window is waiting for asset to be loaded (to send <see cref="OnAssetLoaded"/> or <see cref="OnAssetLoadFailed"/> events).
|
||||
/// </summary>
|
||||
protected bool _isWaitingForLoaded;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user