mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
parent
f6590be606
commit
cab55bbb9d
1 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ Error MessageQueue::push_call(ObjectID p_id, const StringName &p_method, const V
|
||||||
type = ObjectDB::get_instance(p_id)->get_class();
|
type = ObjectDB::get_instance(p_id)->get_class();
|
||||||
print_line("Failed method: " + type + ":" + p_method + " target ID: " + itos(p_id));
|
print_line("Failed method: " + type + ":" + p_method + " target ID: " + itos(p_id));
|
||||||
statistics();
|
statistics();
|
||||||
ERR_FAIL_V_MSG(ERR_OUT_OF_MEMORY, "Message queue out of memory. Try increasing 'message_queue_size_kb' in project settings.");
|
ERR_FAIL_V_MSG(ERR_OUT_OF_MEMORY, "Message queue out of memory. Try increasing 'memory/limits/message_queue/max_size_kb' in project settings.");
|
||||||
}
|
}
|
||||||
|
|
||||||
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
||||||
|
@ -102,7 +102,7 @@ Error MessageQueue::push_set(ObjectID p_id, const StringName &p_prop, const Vari
|
||||||
type = ObjectDB::get_instance(p_id)->get_class();
|
type = ObjectDB::get_instance(p_id)->get_class();
|
||||||
print_line("Failed set: " + type + ":" + p_prop + " target ID: " + itos(p_id));
|
print_line("Failed set: " + type + ":" + p_prop + " target ID: " + itos(p_id));
|
||||||
statistics();
|
statistics();
|
||||||
ERR_FAIL_V_MSG(ERR_OUT_OF_MEMORY, "Message queue out of memory. Try increasing 'message_queue_size_kb' in project settings.");
|
ERR_FAIL_V_MSG(ERR_OUT_OF_MEMORY, "Message queue out of memory. Try increasing 'memory/limits/message_queue/max_size_kb' in project settings.");
|
||||||
}
|
}
|
||||||
|
|
||||||
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
||||||
|
@ -131,7 +131,7 @@ Error MessageQueue::push_notification(ObjectID p_id, int p_notification) {
|
||||||
if ((buffer_end + room_needed) >= buffer_size) {
|
if ((buffer_end + room_needed) >= buffer_size) {
|
||||||
print_line("Failed notification: " + itos(p_notification) + " target ID: " + itos(p_id));
|
print_line("Failed notification: " + itos(p_notification) + " target ID: " + itos(p_id));
|
||||||
statistics();
|
statistics();
|
||||||
ERR_FAIL_V_MSG(ERR_OUT_OF_MEMORY, "Message queue out of memory. Try increasing 'message_queue_size_kb' in project settings.");
|
ERR_FAIL_V_MSG(ERR_OUT_OF_MEMORY, "Message queue out of memory. Try increasing 'memory/limits/message_queue/max_size_kb' in project settings.");
|
||||||
}
|
}
|
||||||
|
|
||||||
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
Message *msg = memnew_placement(&buffer[buffer_end], Message);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue