Added support for Switch::set/getValue()

This commit is contained in:
Robert Osfield
2014-01-06 17:19:21 +00:00
parent 8ae971bdaa
commit cc99a40b16
2 changed files with 68 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ static int callClassMethod(lua_State* _lua)
for(int i=2; i<=n; ++i)
{
OSG_NOTICE<<" need to push parameter "<<lua_typename(_lua, lua_type(_lua, n))<<std::endl;
inputParameters.push_back(lse->popParameterObject());
inputParameters.insert(inputParameters.begin(), lse->popParameterObject());
}
// if (osgDB::MethodsObjectManager::instance()->run(object, object->getCompoundClassName(), methodName, inputParameters, outputParameters))