summaryrefslogtreecommitdiff
path: root/editor/create_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-11-19 09:32:54 +0100
committerGitHub <noreply@github.com>2018-11-19 09:32:54 +0100
commit877f574b30b05db8b43326472ca93fcbfb119ab3 (patch)
tree222ec328c23f1d5f7d882cc84ed06fe2aa329781 /editor/create_dialog.cpp
parent60cbb69c7c40efd72234ef10e77767347d8df6c4 (diff)
parent7144e2fde4c8ff7aa17d4654b899a28b0da9892b (diff)
Merge pull request #23819 from YeldhamDev/relation_lines_extra_hide_guides
Add more places to hide guides if relationship lines are enabled
Diffstat (limited to 'editor/create_dialog.cpp')
-rw-r--r--editor/create_dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp
index c4516c1f17..926fa37040 100644
--- a/editor/create_dialog.cpp
+++ b/editor/create_dialog.cpp
@@ -118,8 +118,10 @@ void CreateDialog::popup_create(bool p_dont_clear, bool p_replace_mode) {
if (enable_rl) {
search_options->add_constant_override("draw_relationship_lines", 1);
search_options->add_color_override("relationship_line_color", rl_color);
+ search_options->add_constant_override("draw_guides", 0);
} else {
search_options->add_constant_override("draw_relationship_lines", 0);
+ search_options->add_constant_override("draw_guides", 1);
}
is_replace_mode = p_replace_mode;