*Polygon2D now updates on any modification in its point array. ShapeLine2D has now an editor.

This commit is contained in:
Ovnuniarchos 2015-11-18 19:20:50 +01:00
parent b08312b30c
commit 0b05739a8b
4 changed files with 37 additions and 1 deletions

View file

@ -34,6 +34,7 @@
void ConcavePolygonShape2D::set_segments(const DVector<Vector2>& p_segments) {
Physics2DServer::get_singleton()->shape_set_data(get_rid(),p_segments);
emit_changed();
}
DVector<Vector2> ConcavePolygonShape2D::get_segments() const {