Lua 获取armature bonedict bug

lua_cocos2dx_studio_Armature_getBoneDic 导出的lua函数
const cocos2d::Map<std::string, cocostudio::Bone *>& ret = cobj->getBoneDic();
ccmap_string_key_to_luaval(tolua_S, ret);

调用ccmap_string_key_to_luaval ,这个函数有问题
lua_pushstring(L, name.c_str());
int ID = (obj) ? (int)obj->_ID : -1;
int* luaID = (obj) ? &obj->_luaID : NULL;
toluafix_pushusertype_ccobject(L, ID, luaID, (void*)obj,typeIter->second.c_str());
lua_rawset(L, -3);

这里应该是push key,不知道是否手误push了 class name,导致 lua里获得的dict都只有一个元素 而且key 也不正确
修正将lua_pushstring(L, name.c_str());
改为
lua_pushstring(L, key.c_str());