mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-16 17:48:01 +00:00
Set muunt editor as viewport container
This commit is contained in:
parent
8d9c78cdc9
commit
732811119e
1 changed files with 13 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue