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:
commit
1b5011d08b
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue