diff --git a/build_scripts/scripts/external_libs.py b/build_scripts/scripts/external_libs.py index 15ef5be41..21d220a35 100644 --- a/build_scripts/scripts/external_libs.py +++ b/build_scripts/scripts/external_libs.py @@ -33,6 +33,6 @@ get_submodule("util_vmf","https://github.com/Silverlan/util_vmf.git","cdba99d") get_submodule("util_zip","https://github.com/Silverlan/util_zip.git","63b2609") get_submodule("vfilesystem","https://github.com/Silverlan/vfilesystem.git","f32d72c8869aa7db4b64d4e3fe04ddeeb15e89e1") -get_submodule("wgui","https://github.com/Silverlan/wgui.git","37181100c7e864e0acb2845276600eb916a4fcdb") +get_submodule("wgui","https://github.com/Silverlan/wgui.git","8cad37ad27ddaadbc50bfa869d7293932cd4878b") os.chdir(curDir) diff --git a/core/client/src/lua/classes/c_lwibase.cpp b/core/client/src/lua/classes/c_lwibase.cpp index 159e9bb50..6ed313877 100644 --- a/core/client/src/lua/classes/c_lwibase.cpp +++ b/core/client/src/lua/classes/c_lwibase.cpp @@ -582,6 +582,7 @@ void Lua::WITexturedShape::register_class(luabind::class_<::WITexturedShape, lua classDef.def("InvertVertexUVCoordinates", static_cast([](::WITexturedShape &el) { el.InvertVertexUVCoordinates(); })); classDef.def("ClearTexture", &::WITexturedShape::ClearTexture); classDef.def("SizeToTexture", &::WITexturedShape::SizeToTexture); + classDef.def("GetTextureSize", &::WITexturedShape::GetTextureSize); classDef.def("SetChannelSwizzle", &::WITexturedShape::SetChannelSwizzle); classDef.def("SetChannelSwizzle", &::WITexturedShape::GetChannelSwizzle); classDef.def("SetShader", static_cast(&::WITexturedShape::SetShader));