summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-12-09 19:36:32 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-12-09 19:37:16 +0100
commit75d0aeb0e9250db729ddba56570386f7c10084af (patch)
tree46c74832b776f488ce8a3fe11ce4171097df65da /scene
parentff11864901d4a08d4d618477b0e823e351dbbff9 (diff)
Fix build in ArrayMesh
Bug introduced in 65fb961b8b2c81ce33c9e0e4c0add7b13da0193a.
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/mesh.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp
index 842af20ac8..0b352efca2 100644
--- a/scene/resources/mesh.cpp
+++ b/scene/resources/mesh.cpp
@@ -28,10 +28,14 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "mesh.h"
+
#include "pair.h"
#include "scene/resources/concave_polygon_shape.h"
#include "scene/resources/convex_polygon_shape.h"
#include "surface_tool.h"
+
+#include <stdlib.h>
+
void Mesh::_clear_triangle_mesh() const {
triangle_mesh.unref();