diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-09 09:09:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 09:09:02 +0200 |
commit | f391107830db5b977de3b5eb4b7404fde08950b3 (patch) | |
tree | 4dbf548f287cdb8f2216d417302fad4c6900880c /editor/debugger | |
parent | 7a317b1314c5039b4b947794082848800304800b (diff) | |
parent | 770cd6764e37e6e7c9389dedd88103a08baba5e7 (diff) |
Merge pull request #63640 from mbe9/fix_noneditable_remote_objects
Diffstat (limited to 'editor/debugger')
-rw-r--r-- | editor/debugger/editor_debugger_inspector.cpp | 3 | ||||
-rw-r--r-- | editor/debugger/editor_debugger_inspector.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/editor/debugger/editor_debugger_inspector.cpp b/editor/debugger/editor_debugger_inspector.cpp index 58206efc20..7ea6cedd2b 100644 --- a/editor/debugger/editor_debugger_inspector.cpp +++ b/editor/debugger/editor_debugger_inspector.cpp @@ -36,7 +36,7 @@ #include "scene/debugger/scene_debugger.h" bool EditorDebuggerRemoteObject::_set(const StringName &p_name, const Variant &p_value) { - if (!editable || !prop_values.has(p_name) || String(p_name).begins_with("Constants/")) { + if (!prop_values.has(p_name) || String(p_name).begins_with("Constants/")) { return false; } @@ -91,7 +91,6 @@ void EditorDebuggerRemoteObject::_bind_methods() { EditorDebuggerInspector::EditorDebuggerInspector() { variables = memnew(EditorDebuggerRemoteObject); - variables->editable = false; } EditorDebuggerInspector::~EditorDebuggerInspector() { diff --git a/editor/debugger/editor_debugger_inspector.h b/editor/debugger/editor_debugger_inspector.h index 5aac4dbf11..d835f5fa42 100644 --- a/editor/debugger/editor_debugger_inspector.h +++ b/editor/debugger/editor_debugger_inspector.h @@ -43,7 +43,6 @@ protected: static void _bind_methods(); public: - bool editable = false; ObjectID remote_object_id; String type_name; List<PropertyInfo> prop_list; |