diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-06-16 11:42:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-16 11:42:10 +0200 |
commit | dacb620f83c5e84a5f8954bdbbbfa030af9e2444 (patch) | |
tree | 364fdedbd000eb21e988de69e307cb1e56ac0ba4 /scene/resources | |
parent | 367aabf03080da8e4e72c9db56b0b2097c86d6b4 (diff) | |
parent | d97e46ffb6e2e449f958296480d52ab5bd779d0d (diff) |
Merge pull request #5233 from UgisBrekis/scene-tree-relationship-lines
Enables parent-children relationship line drawing in scene tree editor
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 9ebb7e7561..58b1366e7c 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -661,12 +661,14 @@ void fill_default_theme(Ref<Theme>& t,const Ref<Font> & default_font,const Ref<F t->set_color("cursor_color","Tree", Color(0,0,0) ); t->set_color("guide_color","Tree", Color(0,0,0,0.1) ); t->set_color("drop_position_color","Tree", Color(1,0.3,0.2) ); + t->set_color("relationship_line_color", "Tree", Color::html("464646") ); t->set_constant("hseparation","Tree",4 *scale); t->set_constant("vseparation","Tree",4 *scale); t->set_constant("guide_width","Tree",2 *scale); t->set_constant("item_margin","Tree",12 *scale); t->set_constant("button_margin","Tree",4 *scale); + t->set_constant("draw_relationship_lines", "Tree", 0); // ItemList @@ -950,6 +952,3 @@ void clear_default_theme() { Theme::set_default_font( Ref< Font >() ); } - - - |