Merge pull request #24331 from mineevgleb/resource-undo-redo

#23231: make resource changes in a nested inspector undoable
This commit is contained in:
Rémi Verschelde 2018-12-14 08:56:42 +01:00 committed by GitHub
commit 491743d670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2421,6 +2421,7 @@ void EditorPropertyResource::update_property() {
sub_inspector->set_keying(is_keying());
sub_inspector->set_read_only(is_read_only());
sub_inspector->set_use_folding(is_using_folding());
sub_inspector->set_undo_redo(EditorNode::get_singleton()->get_undo_redo());
sub_inspector_vbox = memnew(VBoxContainer);
add_child(sub_inspector_vbox);