mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Ability to revert any property, not just from inherited scenes or scripts.
This commit is contained in:
@@ -4733,6 +4733,8 @@ EditorNode::EditorNode() {
|
||||
ResourceLoader::set_timestamp_on_load(true);
|
||||
ResourceSaver::set_timestamp_on_save(true);
|
||||
|
||||
default_value_cache = memnew( EditorDefaultClassValueCache );
|
||||
|
||||
{ //register importers at the beginning, so dialogs are created with the right extensions
|
||||
Ref<ResourceImporterTexture> import_texture;
|
||||
import_texture.instance();
|
||||
@@ -5857,6 +5859,7 @@ EditorNode::~EditorNode() {
|
||||
memdelete(editor_plugins_force_input_forwarding);
|
||||
memdelete(file_server);
|
||||
memdelete(progress_hb);
|
||||
memdelete(default_value_cache);
|
||||
EditorSettings::destroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user