You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Make some debug prints verbose-only, remove others
This commit is contained in:
@@ -178,7 +178,7 @@ void ARVRServer::remove_interface(const Ref<ARVRInterface> &p_interface) {
|
||||
|
||||
ERR_FAIL_COND(idx == -1);
|
||||
|
||||
print_line("Removed interface" + p_interface->get_name());
|
||||
print_verbose("ARVR: Removed interface" + p_interface->get_name());
|
||||
|
||||
emit_signal("interface_removed", p_interface->get_name());
|
||||
interfaces.remove(idx);
|
||||
@@ -320,12 +320,12 @@ Ref<ARVRInterface> ARVRServer::get_primary_interface() const {
|
||||
void ARVRServer::set_primary_interface(const Ref<ARVRInterface> &p_primary_interface) {
|
||||
primary_interface = p_primary_interface;
|
||||
|
||||
print_line("Primary interface set to: " + primary_interface->get_name());
|
||||
print_verbose("ARVR: Primary interface set to: " + primary_interface->get_name());
|
||||
};
|
||||
|
||||
void ARVRServer::clear_primary_interface_if(const Ref<ARVRInterface> &p_primary_interface) {
|
||||
if (primary_interface == p_primary_interface) {
|
||||
print_line("Clearing primary interface");
|
||||
print_verbose("ARVR: Clearing primary interface");
|
||||
primary_interface.unref();
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user