Merge pull request #34293 from jitspoe/collision-polygon-export-fix
Fix for collision polygon not working at all on exported builds.
This commit is contained in:
commit
f18cb89681
|
@ -44,7 +44,7 @@ void CollisionPolygon::_build_polygon() {
|
|||
if (polygon.size() == 0)
|
||||
return;
|
||||
|
||||
Vector<Vector<Vector2> > decomp = Geometry::decompose_polygon(polygon);
|
||||
Vector<Vector<Vector2> > decomp = Geometry::decompose_polygon_in_convex(polygon);
|
||||
if (decomp.size() == 0)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue