From 0993edda116673515e8685cfb19342fb448d5877 Mon Sep 17 00:00:00 2001 From: mp3butcher Date: Wed, 5 Apr 2017 17:59:06 +0200 Subject: [PATCH] forgot a lua_pop(_lua, 16) --- src/osgPlugins/lua/LuaScriptEngine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgPlugins/lua/LuaScriptEngine.cpp b/src/osgPlugins/lua/LuaScriptEngine.cpp index 66f23ca4b..15be805d1 100644 --- a/src/osgPlugins/lua/LuaScriptEngine.cpp +++ b/src/osgPlugins/lua/LuaScriptEngine.cpp @@ -3543,6 +3543,7 @@ bool LuaScriptEngine::getValue(int pos, osg::Matrixf& value) const value(r,c) = lua_tonumber(_lua, -16+(r*4+c)); } } + lua_pop(_lua, 16); return true; }