diff options
author | Ovnuniarchos <pujalte.jorge@gmail.com> | 2015-11-18 19:20:50 +0100 |
---|---|---|
committer | Ovnuniarchos <pujalte.jorge@gmail.com> | 2015-11-18 19:20:50 +0100 |
commit | 0b05739a8ba7b0181f7f596a4813058ba3a0cb3b (patch) | |
tree | 886a2d79b939e9d1365a90a1b3faa1dae8e40d56 /scene/resources/shape_line_2d.cpp | |
parent | b08312b30c5fa47bffc2d21d4cb57520b822bf45 (diff) | |
download | redot-engine-0b05739a8ba7b0181f7f596a4813058ba3a0cb3b.tar.gz |
*Polygon2D now updates on any modification in its point array. ShapeLine2D has now an editor.
Diffstat (limited to 'scene/resources/shape_line_2d.cpp')
-rw-r--r-- | scene/resources/shape_line_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/shape_line_2d.cpp b/scene/resources/shape_line_2d.cpp index c660b604f3..97e9985754 100644 --- a/scene/resources/shape_line_2d.cpp +++ b/scene/resources/shape_line_2d.cpp @@ -35,6 +35,7 @@ void LineShape2D::_update_shape() { arr.push_back(normal); arr.push_back(d); Physics2DServer::get_singleton()->shape_set_data(get_rid(),arr); + emit_changed(); } |