Revert "Merge pull request #70696 from Rindbee/propagate-keying-state"
This reverts commitc774b4ce17
, reversing changes made toccc609d824
.
This commit is contained in:
parent
eee9e3cd9a
commit
724f2422d7
2 changed files with 1 additions and 6 deletions
|
@ -3361,10 +3361,7 @@ void EditorInspector::set_keying(bool p_active) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
keying = p_active;
|
keying = p_active;
|
||||||
// Propagate the keying state to its editor properties.
|
update_tree();
|
||||||
Array args;
|
|
||||||
args.append(keying);
|
|
||||||
main_vbox->propagate_call(SNAME("set_keying"), args, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorInspector::set_read_only(bool p_read_only) {
|
void EditorInspector::set_read_only(bool p_read_only) {
|
||||||
|
|
|
@ -4121,8 +4121,6 @@ void EditorPropertyResource::update_property() {
|
||||||
|
|
||||||
if (use_editor) {
|
if (use_editor) {
|
||||||
// Open editor directly and hide other such editors which are currently open.
|
// Open editor directly and hide other such editors which are currently open.
|
||||||
// The opened editor is the one that edits the sub-resource, so keying state will be toggled to false.
|
|
||||||
sub_inspector->set_keying(false);
|
|
||||||
_open_editor_pressed();
|
_open_editor_pressed();
|
||||||
if (is_inside_tree()) {
|
if (is_inside_tree()) {
|
||||||
get_tree()->call_deferred(SNAME("call_group"), "_editor_resource_properties", "_fold_other_editors", this);
|
get_tree()->call_deferred(SNAME("call_group"), "_editor_resource_properties", "_fold_other_editors", this);
|
||||||
|
|
Loading…
Reference in a new issue