You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use range iterators for RBSet in most cases
This commit is contained in:
@@ -603,8 +603,8 @@ bool AnimationNodeBlendTreeEditor::_update_filters(const Ref<AnimationNode> &ano
|
||||
|
||||
HashMap<String, TreeItem *> parenthood;
|
||||
|
||||
for (RBSet<String>::Element *E = paths.front(); E; E = E->next()) {
|
||||
NodePath path = E->get();
|
||||
for (const String &E : paths) {
|
||||
NodePath path = E;
|
||||
TreeItem *ti = nullptr;
|
||||
String accum;
|
||||
for (int i = 0; i < path.get_name_count(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user