Don't push remote object if the same remote object is already in the history

Fix error inspector capitalization with regular objects after insepct remote objects
This commit is contained in:
geequlim 2017-09-03 17:05:50 +08:00
parent 29cd034e23
commit 31b1a77dbc
3 changed files with 16 additions and 7 deletions

View file

@ -3618,6 +3618,7 @@ void PropertyEditor::edit(Object *p_object) {
if (obj) {
set_enable_capitalize_paths(true);
obj->remove_change_receptor(this);
if (obj->is_type("ScriptEditorDebuggerInspectedObject")) {