summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-08-24 16:50:29 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-08-24 16:50:29 +0200
commit0b67d1665d94f91069e9163087f51c632d5b4d1d (patch)
tree604b6a1f32eea552a08cb46979de3bbe5e9ca947 /editor
parentf6c0a3fce9be3cb39a63434a32918e390827ad8d (diff)
Style: Fix previous commits from @reduz
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/skeleton_editor_plugin.cpp3
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");
}
}