From d24f17b88d901b779c81c7434995675eb2a17429 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 4 Nov 2021 12:55:25 +0800 Subject: - Internal:: --- Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp') diff --git a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp index 5906788..0269b72 100644 --- a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp +++ b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp @@ -1,4 +1,5 @@ #include "Editor/GUI/EditorWindows.h" +#include "Runtime/Math/Math.h" LUA_BIND_REGISTRY(ContainerWindow) { @@ -56,10 +57,10 @@ LUA_BIND_IMPL_METHOD(ContainerWindow, ContainerWindow::_New) ContainerWindow* wnd = new ContainerWindow(state.GetVM()); - Internal::Rect rect = state.GetValue(state, Internal::Rect()); + Rect rect = state.GetValue(state, Rect()); int showMode = state.GetValue(2, 0); - Internal::Vector2 min = state.GetValue(state, Internal::Vector2()); - Internal::Vector2 max = state.GetValue(state, Internal::Vector2()); + Vector2 min = state.GetValue(state, Vector2()); + Vector2 max = state.GetValue(state, Vector2()); wnd->Init(rect, showMode, min, max); -- cgit v1.1-26-g67d0