diff options
author | Chaosus <chaosus89@gmail.com> | 2018-05-29 15:21:06 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2018-05-31 11:33:36 +0300 |
commit | cf38270ef7b7d9d01979b156a1222bdd6607087a (patch) | |
tree | 248ba0b7e091ba759d04858a947b52f5c6d404cc /editor/property_editor.cpp | |
parent | 46bab3abc71156cd2da95312368f2c72abe7b151 (diff) |
Increase settings apply speed and added deferred color apply
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r-- | editor/property_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index e912ebe03a..7f46844f6c 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -847,6 +847,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant:: if (!color_picker) { //late init for performance color_picker = memnew(ColorPicker); + color_picker->set_deferred_mode(true); add_child(color_picker); color_picker->hide(); color_picker->connect("color_changed", this, "_color_changed"); |