mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Skip copying values constructed immediately before returning
This commit is contained in:
parent
9283328fe7
commit
754d49ac81
14 changed files with 35 additions and 60 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue