mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Skip copying values constructed immediately before returning
This commit is contained in:
@@ -76,8 +76,7 @@ void EditorExpressionEvaluator::_clear() {
|
||||
}
|
||||
|
||||
void EditorExpressionEvaluator::_remote_object_selected(ObjectID p_id) {
|
||||
Array arr = { p_id };
|
||||
editor_debugger->emit_signal(SNAME("remote_objects_requested"), arr);
|
||||
editor_debugger->emit_signal(SNAME("remote_objects_requested"), Array{ p_id });
|
||||
}
|
||||
|
||||
void EditorExpressionEvaluator::_on_expression_input_changed(const String &p_expression) {
|
||||
|
||||
@@ -288,8 +288,7 @@ void ScriptEditorDebugger::clear_inspector(bool p_send_msg) {
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::_remote_object_selected(ObjectID p_id) {
|
||||
Array arr = { p_id };
|
||||
emit_signal(SNAME("remote_objects_requested"), arr);
|
||||
emit_signal(SNAME("remote_objects_requested"), Array{ p_id });
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::_remote_objects_edited(const String &p_prop, const TypedDictionary<uint64_t, Variant> &p_values, const String &p_field) {
|
||||
|
||||
Reference in New Issue
Block a user