Merge pull request #16856 from volzhs/line-scene-tree

Draw relationship line on scene tree dock if option is on
This commit is contained in:
Rémi Verschelde 2018-02-20 15:35:36 +01:00 committed by GitHub
commit ae8e8b2bc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -536,6 +536,7 @@ void SceneTreeEditor::_notification(int p_what) {
tree->connect("item_collapsed", this, "_cell_collapsed");
EditorSettings::get_singleton()->connect("settings_changed", this, "_editor_settings_changed");
_editor_settings_changed();
//get_scene()->connect("tree_changed",this,"_tree_changed",Vector<Variant>(),CONNECT_DEFERRED);
//get_scene()->connect("node_removed",this,"_node_removed",Vector<Variant>(),CONNECT_DEFERRED);