diff options
| author | Juan Linietsky | 2017-06-25 17:30:28 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-06-25 17:31:22 -0300 |
| commit | 760cdbe1a31837bcb142de6912718fd80f57346b (patch) | |
| tree | 2b11c560a4e20999d54a391cc4c803504cd46907 /editor/editor_node.cpp | |
| parent | 826784d965a5200670f13709d69e3135bf1f4d9e (diff) | |
| download | godot-760cdbe1a31837bcb142de6912718fd80f57346b.tar.gz godot-760cdbe1a31837bcb142de6912718fd80f57346b.tar.zst godot-760cdbe1a31837bcb142de6912718fd80f57346b.zip | |
-Added folding to property editor, persistent on objects it edits
-Some changes to tree to support this properly
Diffstat (limited to '')
| -rw-r--r-- | editor/editor_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 097c2977e..8657deef0 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5784,6 +5784,7 @@ EditorNode::EditorNode() { property_editor = memnew(PropertyEditor); property_editor->set_autoclear(true); property_editor->set_show_categories(true); + property_editor->set_use_folding(true); property_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL); property_editor->set_use_doc_hints(true); property_editor->set_enable_capitalize_paths(bool(EDITOR_DEF("interface/capitalize_properties", true))); |
