From 948fd83cdded7fed77ae5213101c1a2ece580434 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 12 Oct 2014 02:13:22 -0300 Subject: Little Bits -=-=-=-=-=- -fix duplicate function bug when creating script callback in editor -fix bug where hiding lights does not work -fix 2D audio listener bug (romulox_x reported) -fix exported properties with inheritance bug -fix timer autostart (make it not work on editor) -reactivate first camara found if viewport runs out of active camera -option to hide gizmos in viewport -changed skeleton gizmo because it sucks -Make convex shapes using CollisionShape visible (use quickhull class) -fix up menu when editing a mesh, to export collision, navmesh, convex, etc. from it. -make a menu option to show SRGB in 3D editor views by default -make option to edit default light direction in viewport settings -make option to edit default ambient light in viewport settings -make software conversion of linear->RGB if hardware support not found --- core/math/quick_hull.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core/math/quick_hull.cpp') diff --git a/core/math/quick_hull.cpp b/core/math/quick_hull.cpp index ed30de6915..136a103eef 100644 --- a/core/math/quick_hull.cpp +++ b/core/math/quick_hull.cpp @@ -428,6 +428,7 @@ Error QuickHull::build(const Vector& p_points, Geometry::MeshData &r_me List::Element *O = F->get().left == E ? F->get().right : F->get().left; ERR_CONTINUE(O==E); + ERR_CONTINUE(O==NULL); if (O->get().plane.is_almost_like(f.plane)) { //merge and delete edge and contiguous face, while repointing edges (uuugh!) -- cgit v1.2.3