1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Fix editing of remote objects in the inspector

This commit is contained in:
Pavel Pletnev
2022-07-29 21:29:43 +03:00
parent 3b39f00761
commit 770cd6764e
2 changed files with 1 additions and 3 deletions

View File

@@ -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() {