diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-24 16:50:29 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-24 16:50:29 +0200 |
commit | 0b67d1665d94f91069e9163087f51c632d5b4d1d (patch) | |
tree | 604b6a1f32eea552a08cb46979de3bbe5e9ca947 /editor | |
parent | f6c0a3fce9be3cb39a63434a32918e390827ad8d (diff) |
Style: Fix previous commits from @reduz
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/skeleton_editor_plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/skeleton_editor_plugin.cpp b/editor/plugins/skeleton_editor_plugin.cpp index d871922c8b..314db4198d 100644 --- a/editor/plugins/skeleton_editor_plugin.cpp +++ b/editor/plugins/skeleton_editor_plugin.cpp @@ -128,11 +128,10 @@ PhysicalBone *SkeletonEditor::create_physical_bone(int bone_id, int bone_child_i void SkeletonEditor::edit(Skeleton *p_node) { skeleton = p_node; - } void SkeletonEditor::_notification(int p_what) { - if (p_what==NOTIFICATION_ENTER_TREE) { + if (p_what == NOTIFICATION_ENTER_TREE) { get_tree()->connect("node_removed", this, "_node_removed"); } } |