Merge pull request #109184 from NasheethAhmedA/path_3d_curve_property_and_toolbar_sync

Update toolbar on curve change in Path3D editor
This commit is contained in:
Thaddeus Crews 2026-02-24 09:29:09 -06:00
commit 1b5011d08b
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -576,6 +576,7 @@ Path3DGizmo::Path3DGizmo(Path3D *p_path) {
// Connecting to a signal once, rather than plaguing the implementation with calls to `Node3DEditor::update_transform_gizmo`.
path->connect("curve_changed", callable_mp(this, &Path3DGizmo::_update_transform_gizmo));
path->connect("curve_changed", callable_mp(Path3DEditorPlugin::singleton, &Path3DEditorPlugin::_update_toolbar));
path->connect("debug_color_changed", callable_mp(this, &Path3DGizmo::redraw));
Path3DEditorPlugin::singleton->curve_edit->connect(SceneStringName(pressed), callable_mp(this, &Path3DGizmo::redraw));