diff options
| author | Daniel J. Ramirez | 2017-11-29 21:11:53 -0600 |
|---|---|---|
| committer | Daniel J. Ramirez | 2017-11-29 22:04:41 -0600 |
| commit | 4b80bc3303c88b545d63c6d8ecd63ad22d44ac3d (patch) | |
| tree | 8f16b54ad9aa058331608e9dc6271027349e86fb /editor/editor_settings.h | |
| parent | 9725f33ac606ed4b26573015bcfdb86ed6741323 (diff) | |
| download | godot-4b80bc3303c88b545d63c6d8ecd63ad22d44ac3d.tar.gz godot-4b80bc3303c88b545d63c6d8ecd63ad22d44ac3d.tar.zst godot-4b80bc3303c88b545d63c6d8ecd63ad22d44ac3d.zip | |
Diffstat (limited to 'editor/editor_settings.h')
| -rw-r--r-- | editor/editor_settings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_settings.h b/editor/editor_settings.h index a8c991a6d..5b15b1d6b 100644 --- a/editor/editor_settings.h +++ b/editor/editor_settings.h @@ -70,6 +70,8 @@ private: bool hide_from_editor; bool save; VariantContainer() { + variant = Variant(); + initial = Variant(); order = 0; hide_from_editor = false; has_default_value = false; @@ -77,8 +79,11 @@ private: } VariantContainer(const Variant &p_variant, int p_order) { variant = p_variant; + initial = Variant(); order = p_order; hide_from_editor = false; + has_default_value = false; + save = false; } }; |
