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