summaryrefslogtreecommitdiff
path: root/modules/visual_script/visual_script_editor.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-07-02 15:08:35 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-07-02 15:08:35 -0300
commit2dc738ce2733757631a4ccf413a92411c4400246 (patch)
treede7d355ea5a2e90e2dbebd6044517cf2b63b090a /modules/visual_script/visual_script_editor.h
parentecee0c92ff86911fa50e745b4ab98196e0d2afe4 (diff)
-Fixes to how hashing happened, now StringName and NodePath use default hasher, this was leading to some severe slowdown in scenarios
-Fixes to some duplication scenarios for instanced scenes
Diffstat (limited to 'modules/visual_script/visual_script_editor.h')
-rw-r--r--modules/visual_script/visual_script_editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_editor.h b/modules/visual_script/visual_script_editor.h
index 72b5e09222..0bd64d6a1d 100644
--- a/modules/visual_script/visual_script_editor.h
+++ b/modules/visual_script/visual_script_editor.h
@@ -137,7 +137,7 @@ class VisualScriptEditor : public ScriptEditorBase {
Vector<Pair<Variant::Type, String> > args;
};
- HashMap<StringName, Ref<StyleBox>, StringNameHasher> node_styles;
+ HashMap<StringName, Ref<StyleBox> > node_styles;
StringName edited_func;
void _update_graph_connections();