From d70c4a215deb065c4eb885923cf824e391974ebd Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 8 Nov 2019 19:56:26 +0800 Subject: [PATCH] Junk --- .../src/interface_v3/interface_3d_scene.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/interface_3d_scene.cpp b/code/ryzom/client/src/interface_v3/interface_3d_scene.cpp index 90afb6181..8a1067784 100644 --- a/code/ryzom/client/src/interface_v3/interface_3d_scene.cpp +++ b/code/ryzom/client/src/interface_v3/interface_3d_scene.cpp @@ -691,23 +691,6 @@ CInterfaceElement* CInterface3DScene::getElement (const string &id) return NULL; } - -int CInterface3DScene::luaGetElement(CLuaState &ls) -{ - CLuaIHM::checkArgCount(ls, "CInterfaceGroup::find", 1); - CLuaIHM::checkArgType(ls, "CInterfaceGroup::find", 1, LUA_TSTRING); - std::string id = ls.toString(1); - CInterfaceElement* element = getElement(id); - if (!element) - { - ls.pushNil(); - } - else - { - CLuaIHM::pushUIOnStack(ls, element); - } - return 1; -} // ---------------------------------------------------------------------------- string CInterface3DScene::getCurrentCamera() const