diff --git a/Switch_FileFormatsMain/GUI/Byaml/CourseMuunt/TurboMunntEditor.cs b/Switch_FileFormatsMain/GUI/Byaml/CourseMuunt/TurboMunntEditor.cs index 3ebd2619..063fba49 100644 --- a/Switch_FileFormatsMain/GUI/Byaml/CourseMuunt/TurboMunntEditor.cs +++ b/Switch_FileFormatsMain/GUI/Byaml/CourseMuunt/TurboMunntEditor.cs @@ -13,7 +13,7 @@ using OpenTK.Graphics.OpenGL; namespace FirstPlugin.Forms { - public partial class TurboMunntEditor : UserControl + public partial class TurboMunntEditor : UserControl, IViewportContainer { Viewport viewport; bool IsLoaded = false; @@ -33,6 +33,18 @@ namespace FirstPlugin.Forms stPanel4.Controls.Add(viewport); } + + public Viewport GetViewport() => viewport; + + public void UpdateViewport() + { + if (viewport != null) + viewport.UpdateViewport(); + } + + public AnimationPanel GetAnimationPanel() => null; + + CourseMuuntScene scene; public void LoadCourseInfo(System.Collections.IEnumerable by, string FilePath)