diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-05-22 21:50:16 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-05-22 21:50:16 +0200 |
commit | 01802074a01c41d8672664751f80b80069796f12 (patch) | |
tree | c059108dcc4d1a80b58707a15404659798a04fca /editor/debugger/editor_debugger_inspector.h | |
parent | 07ada02cb44af22905991b558af6a4a531de44a7 (diff) | |
download | redot-engine-01802074a01c41d8672664751f80b80069796f12.tar.gz |
Fix dialog spam when inspecting MeshInstance from model file
Avoid load_scene for built-in resources to make sure we don't
open a scene tab and prompt for model file editing.
Load scene as regular resource instead and store the reference to keep
the dependency until the remote inspector cache is cleared.
Diffstat (limited to 'editor/debugger/editor_debugger_inspector.h')
-rw-r--r-- | editor/debugger/editor_debugger_inspector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/debugger/editor_debugger_inspector.h b/editor/debugger/editor_debugger_inspector.h index 638dee3c3f..7d13a4c362 100644 --- a/editor/debugger/editor_debugger_inspector.h +++ b/editor/debugger/editor_debugger_inspector.h @@ -69,6 +69,7 @@ class EditorDebuggerInspector : public EditorInspector { private: ObjectID inspected_object_id; Map<ObjectID, EditorDebuggerRemoteObject *> remote_objects; + Set<RES> remote_dependencies; EditorDebuggerRemoteObject *variables; void _object_selected(ObjectID p_object); |