From e63df5ce80eb1a0955e04f75ce8f72f119dc5f3c Mon Sep 17 00:00:00 2001 From: Thomas--S Date: Thu, 13 Apr 2017 15:45:12 +0200 Subject: Sort box corners correctly --- src/script/common/c_converter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/script/common') diff --git a/src/script/common/c_converter.cpp b/src/script/common/c_converter.cpp index fc516d56a..3426a9677 100644 --- a/src/script/common/c_converter.cpp +++ b/src/script/common/c_converter.cpp @@ -306,6 +306,7 @@ aabb3f read_aabb3f(lua_State *L, int index, f32 scale) box.MaxEdge.Z = lua_tonumber(L, -1) * scale; lua_pop(L, 1); } + box.repair(); return box; } -- cgit v1.2.3