From 3239ba18797b1aa098056aa0c2a70e250a27a06c Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 24 Oct 2021 13:24:13 +0800 Subject: * port shader --- Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp | 6 +++--- 1 file changed, 3 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 ce0efc8..02b29df 100644 --- a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp +++ b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp @@ -56,10 +56,10 @@ LUA_BIND_IMPL_METHOD(ContainerWindow, ContainerWindow::_New) ContainerWindow* wnd = new ContainerWindow(state.GetVM()); - Rectf rect = state.GetValue(state, Rectf()); + Rect rect = state.GetValue(state, Rect()); int showMode = state.GetValue(2, 0); - Vector2f min = state.GetValue(state, Vector2f()); - Vector2f max = state.GetValue(state, Vector2f()); + Vector2 min = state.GetValue(state, Vector2()); + Vector2 max = state.GetValue(state, Vector2()); wnd->Init(rect, showMode, min, max); -- cgit v1.1-26-g67d0