diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-10 23:09:05 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-10 23:09:05 -0300 |
commit | d7015613b10918da720f843c2c56d5c949ffc15b (patch) | |
tree | b2922a553e2b037488c7a8de40d6740b22c1ab5c /scene | |
parent | 6eb742d49f5d60fe8b61d5ac4ae72703764c6f67 (diff) |
It seems everyone misses the polygon decomposer output, fixes #3069
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/collision_polygon_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/collision_polygon_2d.cpp b/scene/2d/collision_polygon_2d.cpp index 386c7b9dd0..2a40a6207d 100644 --- a/scene/2d/collision_polygon_2d.cpp +++ b/scene/2d/collision_polygon_2d.cpp @@ -197,7 +197,7 @@ void CollisionPolygon2D::_notification(int p_what) { Vector2 n = polygon[(i+1)%polygon.size()]; draw_line(p,n,Color(0.9,0.2,0.0,0.8),3); } -//#define DEBUG_DECOMPOSE +#define DEBUG_DECOMPOSE #if defined(TOOLS_ENABLED) && defined (DEBUG_DECOMPOSE) Vector< Vector<Vector2> > decomp = _decompose_in_convex(); |