mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 16:59:37 -05:00
Fix issue preventing from setting multiple vector properties through a lua script
This commit is contained in:
@@ -50,6 +50,9 @@ glm::bvec2 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,6 +50,9 @@ glm::bvec3 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,6 +50,9 @@ glm::bvec4 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::dvec2 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::dvec3 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::dvec4 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::ivec2 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::ivec3 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::ivec4 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::uvec2 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::uvec3 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::uvec4 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::vec2 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,8 @@ glm::vec3 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -50,8 +50,9 @@ glm::vec4 fromLuaConversion(lua_State* state, bool& success) {
|
||||
lua_pop(state, 1);
|
||||
}
|
||||
}
|
||||
// The last accessor argument and the table are still on the stack
|
||||
lua_pop(state, 2);
|
||||
|
||||
// The last accessor argument is still on the stack
|
||||
lua_pop(state, 1);
|
||||
success = true;
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user