diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-05-20 14:49:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-20 14:49:34 +0200 |
commit | 9643b2b6def9964a24d273e7611ebf5aeefcd4b5 (patch) | |
tree | 77ca51194636384272895a7a0446397f7b65cbb7 /editor | |
parent | 6110bdee138febf3b04b47bc15b834bda7b99d52 (diff) | |
parent | b00d7bfc3fe02af23581eebf2b4bb0522c462b3c (diff) |
Merge pull request #29027 from akien-mga/clang-format-8.0
Travis: Update clang-format to version 8.0
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_folding.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_folding.cpp b/editor/editor_folding.cpp index f6079624de..96653fec70 100644 --- a/editor/editor_folding.cpp +++ b/editor/editor_folding.cpp @@ -92,7 +92,7 @@ void EditorFolding::load_resource_folding(RES p_resource, const String &p_path) _set_unfolds(p_resource.ptr(), unfolds); } -void EditorFolding::_fill_folds(const Node *p_root, const Node *p_node, Array &p_folds, Array &resource_folds, Array& nodes_folded,Set<RES> &resources) { +void EditorFolding::_fill_folds(const Node *p_root, const Node *p_node, Array &p_folds, Array &resource_folds, Array &nodes_folded, Set<RES> &resources) { if (p_root != p_node) { if (!p_node->get_owner()) { return; //not owned, bye @@ -130,7 +130,7 @@ void EditorFolding::_fill_folds(const Node *p_root, const Node *p_node, Array &p } for (int i = 0; i < p_node->get_child_count(); i++) { - _fill_folds(p_root, p_node->get_child(i), p_folds, resource_folds, nodes_folded,resources); + _fill_folds(p_root, p_node->get_child(i), p_folds, resource_folds, nodes_folded, resources); } } void EditorFolding::save_scene_folding(const Node *p_scene, const String &p_path) { @@ -205,7 +205,7 @@ void EditorFolding::load_scene_folding(Node *p_scene, const String &p_path) { _set_unfolds(res.ptr(), unfolds2); } - for(int i=0;i<nodes_folded.size();i++) { + for (int i = 0; i < nodes_folded.size(); i++) { NodePath fold_path = nodes_folded[i]; if (p_scene->has_node(fold_path)) { Node *node = p_scene->get_node(fold_path); |