1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

[Scene] Add SceneStringNames::item_selected

This commit is contained in:
A Thousand Ships
2024-05-14 14:21:31 +02:00
parent 0a83e7c5da
commit d9e2fc74c7
58 changed files with 135 additions and 131 deletions

View File

@@ -838,7 +838,7 @@ void Skeleton3DEditor::_notification(int p_what) {
case NOTIFICATION_ENTER_TREE: {
update_joint_tree();
joint_tree->connect("item_selected", callable_mp(this, &Skeleton3DEditor::_joint_tree_selection_changed));
joint_tree->connect(SceneStringName(item_selected), callable_mp(this, &Skeleton3DEditor::_joint_tree_selection_changed));
joint_tree->connect("item_mouse_selected", callable_mp(this, &Skeleton3DEditor::_joint_tree_rmb_select));
#ifdef TOOLS_ENABLED
skeleton->connect(SceneStringName(pose_updated), callable_mp(this, &Skeleton3DEditor::_draw_gizmo));