Merge pull request #63640 from mbe9/fix_noneditable_remote_objects

This commit is contained in:
Rémi Verschelde 2022-09-09 09:09:02 +02:00 committed by GitHub
commit f391107830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {

View File

@ -43,7 +43,6 @@ protected:
static void _bind_methods();
public:
bool editable = false;
ObjectID remote_object_id;
String type_name;
List<PropertyInfo> prop_list;