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
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void CollisionPolygon::_build_polygon() {
|
||||||
if (polygon.size() == 0)
|
if (polygon.size() == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Vector<Vector<Vector2> > decomp = Geometry::decompose_polygon(polygon);
|
Vector<Vector<Vector2> > decomp = Geometry::decompose_polygon_in_convex(polygon);
|
||||||
if (decomp.size() == 0)
|
if (decomp.size() == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue