Kaynağa Gözat

Merge pull request #23481 from groud/fix_extends_not_updating

Fixes CollisionShape extends not updating when draggind handles
Rémi Verschelde 6 yıl önce
ebeveyn
işleme
19f1ddb708

+ 1 - 0
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) {