summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-11-04 22:04:52 +0100
committerGitHub <noreply@github.com>2018-11-04 22:04:52 +0100
commit19f1ddb70838874e06d171a24a96bf7ba71b1db8 (patch)
tree626ee387e4e60a039c41df8c4e4c3a53a3c30998
parent2cf33bc5f13b9525d8c208c929763ce80aee918c (diff)
parent952f3004f1e1e46a529dc8d8904404832ed5ac96 (diff)
Merge pull request #23481 from groud/fix_extends_not_updating
Fixes CollisionShape extends not updating when draggind handles
-rw-r--r--editor/plugins/collision_shape_2d_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/collision_shape_2d_editor_plugin.cpp b/editor/plugins/collision_shape_2d_editor_plugin.cpp
index 5d85a64b9c..313ba1ee6b 100644
--- a/editor/plugins/collision_shape_2d_editor_plugin.cpp
+++ b/editor/plugins/collision_shape_2d_editor_plugin.cpp
@@ -203,6 +203,7 @@ void CollisionShape2DEditor::set_handle(int idx, Point2 &p_point) {
} break;
}
+ node->get_shape()->_change_notify();
}
void CollisionShape2DEditor::commit_handle(int idx, Variant &p_org) {