diff --git a/MatterControlLib/DesignTools/Braille/BrailleCardObject3D.cs b/MatterControlLib/DesignTools/Braille/BrailleCardObject3D.cs index 7d6303588..c43c31e46 100644 --- a/MatterControlLib/DesignTools/Braille/BrailleCardObject3D.cs +++ b/MatterControlLib/DesignTools/Braille/BrailleCardObject3D.cs @@ -74,7 +74,7 @@ namespace MatterHackers.MatterControl.DesignTools { using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { this.Children.Modify(list => { diff --git a/MatterControlLib/DesignTools/Braille/BrailleObject3D.cs b/MatterControlLib/DesignTools/Braille/BrailleObject3D.cs index f391f82b9..d27ea1b92 100644 --- a/MatterControlLib/DesignTools/Braille/BrailleObject3D.cs +++ b/MatterControlLib/DesignTools/Braille/BrailleObject3D.cs @@ -100,7 +100,7 @@ namespace MatterHackers.MatterControl.DesignTools { using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { this.Children.Modify(list => { diff --git a/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/ChairFootObject3D.cs b/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/ChairFootObject3D.cs index 5b21113bb..70218cf1e 100644 --- a/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/ChairFootObject3D.cs +++ b/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/ChairFootObject3D.cs @@ -116,7 +116,7 @@ namespace MatterHackers.MatterControl.DesignTools { AngleDegrees = 45; } - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { // This would be better expressed as the desired offset height (height from ground to bottom of chair leg). double angleRadians = MathHelper.DegreesToRadians(AngleDegrees); diff --git a/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/ElbowObject3D.cs b/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/ElbowObject3D.cs index 0694315ef..a048c8eb8 100644 --- a/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/ElbowObject3D.cs +++ b/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/ElbowObject3D.cs @@ -69,7 +69,7 @@ namespace MatterHackers.MatterControl.DesignTools { using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { // validate the some of the values and store in user data if changed InnerDiameter = ValidateValue(InnerDiameter, "PipeWorksInnerDiameter", 15); diff --git a/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/TeeObject3D.cs b/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/TeeObject3D.cs index 162b23877..390f48eae 100644 --- a/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/TeeObject3D.cs +++ b/MatterControlLib/DesignTools/EditorTools/DesignApps/Parts/PipeWorks/TeeObject3D.cs @@ -69,7 +69,7 @@ namespace MatterHackers.MatterControl.DesignTools { using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { // validate the some of the values and store in user data if changed InnerDiameter = ValidateValue(InnerDiameter, "PipeWorksInnerDiameter", 15); diff --git a/MatterControlLib/DesignTools/Interfaces/IPropertyGridModifier.cs b/MatterControlLib/DesignTools/Interfaces/IPropertyGridModifier.cs index 03930ccf1..f809ac41c 100644 --- a/MatterControlLib/DesignTools/Interfaces/IPropertyGridModifier.cs +++ b/MatterControlLib/DesignTools/Interfaces/IPropertyGridModifier.cs @@ -65,7 +65,7 @@ namespace MatterHackers.MatterControl.DesignTools /// - /// Set the visability of a property line item in the property editor + /// Set the visibility of a property line item in the property editor /// /// /// diff --git a/MatterControlLib/DesignTools/Obsolete/FitToBoundsObject3D.cs b/MatterControlLib/DesignTools/Obsolete/FitToBoundsObject3D.cs index 348f9f955..44bcc469b 100644 --- a/MatterControlLib/DesignTools/Obsolete/FitToBoundsObject3D.cs +++ b/MatterControlLib/DesignTools/Obsolete/FitToBoundsObject3D.cs @@ -174,7 +174,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { AdjustChildSize(null, null); } diff --git a/MatterControlLib/DesignTools/Obsolete/RotateObject3D.cs b/MatterControlLib/DesignTools/Obsolete/RotateObject3D.cs index 9facf8ed9..bbc94e06e 100644 --- a/MatterControlLib/DesignTools/Obsolete/RotateObject3D.cs +++ b/MatterControlLib/DesignTools/Obsolete/RotateObject3D.cs @@ -80,7 +80,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var startingAabb = this.GetAxisAlignedBoundingBox(); // remove whatever rotation has been applied (they go in reverse order) diff --git a/MatterControlLib/DesignTools/Operations/AlignObject3D.cs b/MatterControlLib/DesignTools/Operations/AlignObject3D.cs index 1e8966eed..5507891a3 100644 --- a/MatterControlLib/DesignTools/Operations/AlignObject3D.cs +++ b/MatterControlLib/DesignTools/Operations/AlignObject3D.cs @@ -362,7 +362,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations // first align the anchor object foreach (var child in list) { - // only process te anchor object + // only process the anchor object if (i != anchorIndex) { i++; @@ -401,7 +401,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations i = 0; foreach (var child in list) { - // skip the anchore object + // skip the anchor object if (i == anchorIndex) { i++; diff --git a/MatterControlLib/DesignTools/Operations/ArrayLinearObject3D.cs b/MatterControlLib/DesignTools/Operations/ArrayLinearObject3D.cs index b405c3977..f92152948 100644 --- a/MatterControlLib/DesignTools/Operations/ArrayLinearObject3D.cs +++ b/MatterControlLib/DesignTools/Operations/ArrayLinearObject3D.cs @@ -62,7 +62,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations { this.DebugDepth("Rebuild"); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var newChildren = new List(); diff --git a/MatterControlLib/DesignTools/Operations/FitToBoundsObject3D_2.cs b/MatterControlLib/DesignTools/Operations/FitToBoundsObject3D_2.cs index 6c4d15965..a50afc296 100644 --- a/MatterControlLib/DesignTools/Operations/FitToBoundsObject3D_2.cs +++ b/MatterControlLib/DesignTools/Operations/FitToBoundsObject3D_2.cs @@ -205,7 +205,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations this.DebugDepth("Rebuild"); using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { AdjustChildSize(null, null); diff --git a/MatterControlLib/DesignTools/Operations/FitToCylinderObject3D.cs b/MatterControlLib/DesignTools/Operations/FitToCylinderObject3D.cs index 6e5d4c394..009365cab 100644 --- a/MatterControlLib/DesignTools/Operations/FitToCylinderObject3D.cs +++ b/MatterControlLib/DesignTools/Operations/FitToCylinderObject3D.cs @@ -163,7 +163,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations this.DebugDepth("Rebuild"); using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { AdjustChildSize(null, null); UpdateBoundsItem(); diff --git a/MatterControlLib/DesignTools/Operations/Object3DExtensions.cs b/MatterControlLib/DesignTools/Operations/Object3DExtensions.cs index 38b9bf785..7de7029d3 100644 --- a/MatterControlLib/DesignTools/Operations/Object3DExtensions.cs +++ b/MatterControlLib/DesignTools/Operations/Object3DExtensions.cs @@ -233,7 +233,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations /// /// Union a and b together. This can either return a single item with a mesh on it - /// or a group item that has the a and be itmes as children + /// or a group item that has the a and be items as children /// /// /// diff --git a/MatterControlLib/DesignTools/Operations/OperationSourceObject3D.cs b/MatterControlLib/DesignTools/Operations/OperationSourceObject3D.cs index 7c68932d7..9aacc50c5 100644 --- a/MatterControlLib/DesignTools/Operations/OperationSourceObject3D.cs +++ b/MatterControlLib/DesignTools/Operations/OperationSourceObject3D.cs @@ -135,8 +135,8 @@ namespace MatterHackers.MatterControl.DesignTools.Operations public override async void OnInvalidate(InvalidateArgs invalidateType) { - // TODO: color and output type could have special consideration that would not require a rebulid - // They could jus propagate the color and output type to the corecty child and everything would be good + // TODO: color and output type could have special consideration that would not require a rebuild + // They could just propagate the color and output type to the correctly child and everything would be good if ((invalidateType.InvalidateType.HasFlag(InvalidateType.Children) || invalidateType.InvalidateType.HasFlag(InvalidateType.Matrix) || invalidateType.InvalidateType.HasFlag(InvalidateType.Mesh) diff --git a/MatterControlLib/DesignTools/Operations/RotateObject3D_2.cs b/MatterControlLib/DesignTools/Operations/RotateObject3D_2.cs index 8b5e7669a..7977ba23d 100644 --- a/MatterControlLib/DesignTools/Operations/RotateObject3D_2.cs +++ b/MatterControlLib/DesignTools/Operations/RotateObject3D_2.cs @@ -76,7 +76,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations { base.WrapItems(items, undoBuffer); - // use source item as the wraper may have cloned it + // use source item as the wrapper may have cloned it var aabb = UntransformedChildren.GetAxisAlignedBoundingBox(); this.RotateAbout.Origin = aabb.Center; } diff --git a/MatterControlLib/DesignTools/Primitives/BaseObject3D.cs b/MatterControlLib/DesignTools/Primitives/BaseObject3D.cs index b1781f468..2f528eae0 100644 --- a/MatterControlLib/DesignTools/Primitives/BaseObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/BaseObject3D.cs @@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl.DesignTools { using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var firstChild = this.Children.FirstOrDefault(); @@ -143,7 +143,7 @@ namespace MatterHackers.MatterControl.DesignTools null, (reporter, cancellationToken) => { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var firstChild = this.Children.FirstOrDefault(); diff --git a/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs b/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs index 4a5462e5b..111018ca9 100644 --- a/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/ConeObject3D.cs @@ -78,7 +78,7 @@ namespace MatterHackers.MatterControl.DesignTools using (RebuildLock()) { Sides = agg_basics.Clamp(Sides, 3, 360, ref changed); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var path = new VertexStorage(); diff --git a/MatterControlLib/DesignTools/Primitives/CubeObject3D.cs b/MatterControlLib/DesignTools/Primitives/CubeObject3D.cs index 1c42f673d..38494b221 100644 --- a/MatterControlLib/DesignTools/Primitives/CubeObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/CubeObject3D.cs @@ -89,7 +89,7 @@ namespace MatterHackers.MatterControl.DesignTools using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { Mesh = PlatonicSolids.CreateCube(Width, Depth, Height); } diff --git a/MatterControlLib/DesignTools/Primitives/CylinderObject3D.cs b/MatterControlLib/DesignTools/Primitives/CylinderObject3D.cs index 0e5847266..69b1ea6a4 100644 --- a/MatterControlLib/DesignTools/Primitives/CylinderObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/CylinderObject3D.cs @@ -144,7 +144,7 @@ namespace MatterHackers.MatterControl.DesignTools Height = Math.Max(Height, .001); Diameter = Math.Max(Diameter, .1); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { if (!Advanced) { diff --git a/MatterControlLib/DesignTools/Primitives/HalfCylinderObject3D.cs b/MatterControlLib/DesignTools/Primitives/HalfCylinderObject3D.cs index d72ede3ff..f14b01eca 100644 --- a/MatterControlLib/DesignTools/Primitives/HalfCylinderObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/HalfCylinderObject3D.cs @@ -78,7 +78,7 @@ namespace MatterHackers.MatterControl.DesignTools using (RebuildLock()) { Sides = agg_basics.Clamp(Sides, 3, 180, ref valuesChanged); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var path = new VertexStorage(); path.MoveTo(Width / 2, 0); diff --git a/MatterControlLib/DesignTools/Primitives/HalfSphereObject3D.cs b/MatterControlLib/DesignTools/Primitives/HalfSphereObject3D.cs index 8a53c39ee..bbed2b3e5 100644 --- a/MatterControlLib/DesignTools/Primitives/HalfSphereObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/HalfSphereObject3D.cs @@ -87,7 +87,7 @@ namespace MatterHackers.MatterControl.DesignTools LatitudeSides = agg_basics.Clamp(LatitudeSides, 3, 180, ref valuesChanged); LongitudeSides = agg_basics.Clamp(LongitudeSides, 3, 360, ref valuesChanged); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var radius = Diameter / 2; var angleDelta = MathHelper.Tau / 4 / LatitudeSides; diff --git a/MatterControlLib/DesignTools/Primitives/HalfWedgeObject3D.cs b/MatterControlLib/DesignTools/Primitives/HalfWedgeObject3D.cs index 01923bafc..755fca8b7 100644 --- a/MatterControlLib/DesignTools/Primitives/HalfWedgeObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/HalfWedgeObject3D.cs @@ -73,7 +73,7 @@ namespace MatterHackers.MatterControl.DesignTools this.DebugDepth("Rebuild"); using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var path = new VertexStorage(); path.MoveTo(0, 0); diff --git a/MatterControlLib/DesignTools/Primitives/PyramidObject3D.cs b/MatterControlLib/DesignTools/Primitives/PyramidObject3D.cs index 133813f98..1700e1614 100644 --- a/MatterControlLib/DesignTools/Primitives/PyramidObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/PyramidObject3D.cs @@ -74,7 +74,7 @@ namespace MatterHackers.MatterControl.DesignTools this.DebugDepth("Rebuild"); using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var path = new VertexStorage(); path.MoveTo(0, 0); diff --git a/MatterControlLib/DesignTools/Primitives/RingObject3D.cs b/MatterControlLib/DesignTools/Primitives/RingObject3D.cs index 9953422db..bcf15202f 100644 --- a/MatterControlLib/DesignTools/Primitives/RingObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/RingObject3D.cs @@ -95,7 +95,7 @@ namespace MatterHackers.MatterControl.DesignTools InnerDiameter = agg_basics.Clamp(InnerDiameter, 0, OuterDiameter - .1, ref valuesChanged); Sides = agg_basics.Clamp(Sides, 3, 360, ref valuesChanged); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var startingAngle = StartingAngle; var endingAngle = EndingAngle; diff --git a/MatterControlLib/DesignTools/Primitives/SphereObject3D.cs b/MatterControlLib/DesignTools/Primitives/SphereObject3D.cs index eed788d98..7fc323e6d 100644 --- a/MatterControlLib/DesignTools/Primitives/SphereObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/SphereObject3D.cs @@ -92,7 +92,7 @@ namespace MatterHackers.MatterControl.DesignTools Sides = agg_basics.Clamp(Sides, 3, 360, ref valuesChanged); LatitudeSides = agg_basics.Clamp(LatitudeSides, 3, 360, ref valuesChanged); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var startingAngle = StartingAngle; var endingAngle = EndingAngle; diff --git a/MatterControlLib/DesignTools/Primitives/TextObject3D.cs b/MatterControlLib/DesignTools/Primitives/TextObject3D.cs index 586a5bb82..c1d38f768 100644 --- a/MatterControlLib/DesignTools/Primitives/TextObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/TextObject3D.cs @@ -135,7 +135,7 @@ namespace MatterHackers.MatterControl.DesignTools null, (reporter, cancellationToken) => { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { this.Children.Modify(list => { diff --git a/MatterControlLib/DesignTools/Primitives/TorusObject3D.cs b/MatterControlLib/DesignTools/Primitives/TorusObject3D.cs index c6c23869f..44102487c 100644 --- a/MatterControlLib/DesignTools/Primitives/TorusObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/TorusObject3D.cs @@ -99,7 +99,7 @@ namespace MatterHackers.MatterControl.DesignTools var innerDiameter = Math.Min(OuterDiameter - .1, InnerDiameter); - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var poleRadius = (OuterDiameter / 2 - innerDiameter / 2) / 2; var toroidRadius = innerDiameter / 2 + poleRadius; diff --git a/MatterControlLib/DesignTools/Primitives/WedgeObject3D.cs b/MatterControlLib/DesignTools/Primitives/WedgeObject3D.cs index 1af30c112..649d83007 100644 --- a/MatterControlLib/DesignTools/Primitives/WedgeObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/WedgeObject3D.cs @@ -73,7 +73,7 @@ namespace MatterHackers.MatterControl.DesignTools this.DebugDepth("Rebuild"); using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { var path = new VertexStorage(); path.MoveTo(0, 0); diff --git a/MatterControlLib/DesignTools/Primitives/XyCalibrationFaceObject3D.cs b/MatterControlLib/DesignTools/Primitives/XyCalibrationFaceObject3D.cs index f2a27ed30..805bf1974 100644 --- a/MatterControlLib/DesignTools/Primitives/XyCalibrationFaceObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/XyCalibrationFaceObject3D.cs @@ -99,7 +99,7 @@ namespace MatterHackers.MatterControl.DesignTools using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { this.Children.Modify((list) => { diff --git a/MatterControlLib/DesignTools/Primitives/XyCalibrationTabObject3D.cs b/MatterControlLib/DesignTools/Primitives/XyCalibrationTabObject3D.cs index de1631335..b40f3dece 100644 --- a/MatterControlLib/DesignTools/Primitives/XyCalibrationTabObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/XyCalibrationTabObject3D.cs @@ -93,7 +93,7 @@ namespace MatterHackers.MatterControl.DesignTools using (RebuildLock()) { - using (new CenterAndHeightMantainer(this)) + using (new CenterAndHeightMaintainer(this)) { this.Children.Modify((list) => { diff --git a/MatterControlLib/PrinterCommunication/Io/PauseHandlingStream.cs b/MatterControlLib/PrinterCommunication/Io/PauseHandlingStream.cs index b190c9b31..a095b6b83 100644 --- a/MatterControlLib/PrinterCommunication/Io/PauseHandlingStream.cs +++ b/MatterControlLib/PrinterCommunication/Io/PauseHandlingStream.cs @@ -104,7 +104,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io var deltaRatio = sensorDelta / stepperDelta; if (deltaRatio < .5 || deltaRatio > 2) { - // we have a repartable discrepency set a runout state + // we have a reportable discrepancy set a runout state positionSensorData.ExtrusionDiscrepency++; if (positionSensorData.ExtrusionDiscrepency > 2) { @@ -117,7 +117,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io positionSensorData.ExtrusionDiscrepency = 0; } - // and recard this position + // and record this position positionSensorData.LastSensorDistance = sensorDistance; positionSensorData.LastStepperDistance = stepperDistance; } diff --git a/MatterControlLib/PrinterCommunication/Io/SoftwareEndstopsStream.cs b/MatterControlLib/PrinterCommunication/Io/SoftwareEndstopsStream.cs index a3c1eec8a..8ffd98671 100644 --- a/MatterControlLib/PrinterCommunication/Io/SoftwareEndstopsStream.cs +++ b/MatterControlLib/PrinterCommunication/Io/SoftwareEndstopsStream.cs @@ -87,7 +87,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io int extruderCount = printer.Settings.GetValue(SettingsKey.extruder_count); AxisAlignedBoundingBox aabb = printer.Bed.Aabb; - // if the printer has no heigt set than allow it to go up any amount + // if the printer has no height set than allow it to go up any amount if(aabb.ZSize < 10) { aabb.MaxXYZ.Z = 200; diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index 03e7a1a75..cb36ab0c6 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit 03e7a1a75fb0ac99393ad3a6e5bed0d7d228189d +Subproject commit cb36ab0c6e7eb3ab7742d6a0ff1bbaad8df96f6a diff --git a/Tests/MatterControl.Tests/MatterControl/InteractiveSceneTests.cs b/Tests/MatterControl.Tests/MatterControl/InteractiveSceneTests.cs index 7433fca8e..4e0e81bc2 100644 --- a/Tests/MatterControl.Tests/MatterControl/InteractiveSceneTests.cs +++ b/Tests/MatterControl.Tests/MatterControl/InteractiveSceneTests.cs @@ -402,7 +402,7 @@ namespace MatterControl.Tests.MatterControl } [Test, Category("InteractiveScene")] - public async Task ScaleObjectMantainsCorrectAabb() + public async Task ScaleObjectMaintainsCorrectAabb() { // build cube with scale and undo { @@ -455,7 +455,7 @@ namespace MatterControl.Tests.MatterControl } [Test, Category("InteractiveScene")] - public async Task ScaleAndRotateMantainsCorrectAabb() + public async Task ScaleAndRotateMaintainsCorrectAabb() { { // create a simple cube with translation @@ -490,7 +490,7 @@ namespace MatterControl.Tests.MatterControl } [Test, Category("InteractiveScene")] - public async Task RotateMantainsCorrectAabb() + public async Task RotateMaintainsCorrectAabb() { { // create a simple cube with translation diff --git a/Tests/MatterControl.Tests/SceneTests.cs b/Tests/MatterControl.Tests/SceneTests.cs index 25a9b86e3..7c36ef0e7 100644 --- a/Tests/MatterControl.Tests/SceneTests.cs +++ b/Tests/MatterControl.Tests/SceneTests.cs @@ -71,7 +71,7 @@ namespace MatterHackers.PolygonMesh.UnitTests [Test] public async Task AutoArrangeChildrenTests() { - // arange a single item around the origin + // arrange a single item around the origin { var scene = new InteractiveScene(); Object3D cube1; @@ -88,7 +88,7 @@ namespace MatterHackers.PolygonMesh.UnitTests Assert.IsTrue(new AxisAlignedBoundingBox(-10, -10, 0, 10, 10, 20).Equals(cube1.GetAxisAlignedBoundingBox(), .001)); } - // arange a single item around a typical bed center + // arrange a single item around a typical bed center { var scene = new InteractiveScene(); Object3D cube1; @@ -105,7 +105,7 @@ namespace MatterHackers.PolygonMesh.UnitTests Assert.IsTrue(new AxisAlignedBoundingBox(90, 90, 0, 110, 110, 20).Equals(cube1.GetAxisAlignedBoundingBox(), .001)); } - // arange 4 items + // arrange 4 items { var scene = new InteractiveScene(); for (int i = 0; i < 4; i++) @@ -128,7 +128,7 @@ namespace MatterHackers.PolygonMesh.UnitTests Assert.Less(sceneAabb.YSize, 60); } - // arange 4 items, starting with 1 selected + // arrange 4 items, starting with 1 selected { var scene = new InteractiveScene(); Object3D child = null;