Fix issue preventing from setting multiple vector properties through a lua script

This commit is contained in:
Alexander Bock
2019-01-08 13:57:09 +01:00
parent 0c6b5e95c6
commit ebf55f3029
16 changed files with 49 additions and 27 deletions
+3
View File
@@ -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;
}
+3
View File
@@ -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;
}
+3
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}
+3 -2
View File
@@ -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;
}