From 4aba15eec3df55dace07c37940edccfdcc92426e Mon Sep 17 00:00:00 2001 From: Ricardo Buring Date: Sun, 19 Jan 2025 11:42:47 +0100 Subject: [PATCH] Fixed Timestep Interpolation (3D): Fix warning spam --- scene/3d/visual_instance_3d.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scene/3d/visual_instance_3d.cpp b/scene/3d/visual_instance_3d.cpp index 257cc287725..9617e0b9127 100644 --- a/scene/3d/visual_instance_3d.cpp +++ b/scene/3d/visual_instance_3d.cpp @@ -113,19 +113,6 @@ void VisualInstance3D::_notification(int p_what) { RenderingServer::get_singleton()->instance_reset_physics_interpolation(instance); } -#if defined(DEBUG_ENABLED) && defined(TOOLS_ENABLED) - else if (GLOBAL_GET("debug/settings/physics_interpolation/enable_warnings")) { - - String node_name = is_inside_tree() ? String(get_path()) : String(get_name()); - if (!_is_vi_visible()) { - WARN_PRINT("[Physics interpolation] NOTIFICATION_RESET_PHYSICS_INTERPOLATION only works with unhidden nodes: \"" + node_name + "\"."); - } - if (!is_physics_interpolated()) { - WARN_PRINT("[Physics interpolation] NOTIFICATION_RESET_PHYSICS_INTERPOLATION only works with interpolated nodes: \"" + node_name + "\"."); - } - } -#endif - } break; case NOTIFICATION_EXIT_WORLD: {