From 4f46089733718c6bf91e1bee95a19e98cc1df670 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sat, 18 Jan 2020 21:06:28 -0500 Subject: [PATCH] Fix typo causing errors. --- File_Format_Library/GUI/Byaml/MuuntEditor/MuuntEditor2D.cs | 2 +- .../GUI/Editors/MK8TrackEditor/MapCameraViewer.cs | 2 +- Switch_Toolbox_Library/Forms/Editors/UV/UVViewport.cs | 2 +- Switch_Toolbox_Library/OpenGL/Viewport2D.cs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/File_Format_Library/GUI/Byaml/MuuntEditor/MuuntEditor2D.cs b/File_Format_Library/GUI/Byaml/MuuntEditor/MuuntEditor2D.cs index 924ba842..0bd1e2f2 100644 --- a/File_Format_Library/GUI/Byaml/MuuntEditor/MuuntEditor2D.cs +++ b/File_Format_Library/GUI/Byaml/MuuntEditor/MuuntEditor2D.cs @@ -19,7 +19,7 @@ namespace FirstPlugin.MuuntEditor ParentEditor = editor; } - public override void RenderSceme() + public override void RenderScene() { foreach (var col in ParentEditor.CollisionObjects) col.Renderer.Draw(Camera.ModelViewMatrix); diff --git a/File_Format_Library/GUI/Editors/MK8TrackEditor/MapCameraViewer.cs b/File_Format_Library/GUI/Editors/MK8TrackEditor/MapCameraViewer.cs index 91cabe8a..de0cd3c2 100644 --- a/File_Format_Library/GUI/Editors/MK8TrackEditor/MapCameraViewer.cs +++ b/File_Format_Library/GUI/Editors/MK8TrackEditor/MapCameraViewer.cs @@ -143,7 +143,7 @@ namespace FirstPlugin.Turbo return (float)(Math.Atan2(yDiff, xDiff) * 180.0 / Math.PI); } - public override void RenderSceme() + public override void RenderScene() { if (MapCamera == null) return; diff --git a/Switch_Toolbox_Library/Forms/Editors/UV/UVViewport.cs b/Switch_Toolbox_Library/Forms/Editors/UV/UVViewport.cs index 1fa002e0..3bfb7de2 100644 --- a/Switch_Toolbox_Library/Forms/Editors/UV/UVViewport.cs +++ b/Switch_Toolbox_Library/Forms/Editors/UV/UVViewport.cs @@ -38,7 +38,7 @@ namespace Toolbox.Library.Forms return new List() { PickableUVMap }; } - public override void RenderSceme() + public override void RenderScene() { GL.PushMatrix(); Vector3 Scale = new Vector3(30, 30, 30); diff --git a/Switch_Toolbox_Library/OpenGL/Viewport2D.cs b/Switch_Toolbox_Library/OpenGL/Viewport2D.cs index fa2b011e..e3e9d438 100644 --- a/Switch_Toolbox_Library/OpenGL/Viewport2D.cs +++ b/Switch_Toolbox_Library/OpenGL/Viewport2D.cs @@ -156,7 +156,7 @@ namespace Toolbox.Library.Forms if (UseGrid) Render2D.DrawGrid(BackgroundColor); - RenderSceme(); + RenderScene(); if (showSelectionBox) { @@ -212,7 +212,7 @@ namespace Toolbox.Library.Forms UpdateViewport(); } - public virtual void RenderSceme() + public virtual void RenderScene() { }