1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

If using relationship lines (now default) hide guides.

This commit is contained in:
Juan Linietsky
2018-11-18 22:00:31 -03:00
parent dc33d25fec
commit 0f7a86ca52
4 changed files with 10 additions and 2 deletions

View File

@@ -980,8 +980,11 @@ void SceneTreeEditor::_editor_settings_changed() {
if (enable_rl) {
tree->add_constant_override("draw_relationship_lines", 1);
tree->add_color_override("relationship_line_color", rl_color);
} else
tree->add_constant_override("draw_guides", 0);
} else {
tree->add_constant_override("draw_relationship_lines", 0);
tree->add_constant_override("draw_guides", 1);
}
}
void SceneTreeEditor::_bind_methods() {