You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add a new HashSet template
* Intended to replace RBSet in most cases. * Optimized for iteration speed
This commit is contained in:
@@ -563,7 +563,7 @@ bool AnimationNodeBlendTreeEditor::_update_filters(const Ref<AnimationNode> &ano
|
||||
|
||||
updating = true;
|
||||
|
||||
RBSet<String> paths;
|
||||
HashSet<String> paths;
|
||||
HashMap<String, RBSet<String>> types;
|
||||
{
|
||||
List<StringName> animations;
|
||||
@@ -698,11 +698,12 @@ bool AnimationNodeBlendTreeEditor::_update_filters(const Ref<AnimationNode> &ano
|
||||
//just a node, not a property track
|
||||
String types_text = "[";
|
||||
if (types.has(path)) {
|
||||
RBSet<String>::Element *F = types[path].front();
|
||||
types_text += F->get();
|
||||
while (F->next()) {
|
||||
F = F->next();
|
||||
types_text += " / " + F->get();
|
||||
RBSet<String>::Iterator F = types[path].begin();
|
||||
types_text += *F;
|
||||
while (F) {
|
||||
types_text += " / " + *F;
|
||||
;
|
||||
++F;
|
||||
}
|
||||
}
|
||||
types_text += "]";
|
||||
|
||||
Reference in New Issue
Block a user