mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 10:32:54 -05:00
Fixed Timestep Interpolation (3D): Fix warning spam
This commit is contained in:
parent
7b1ed520bd
commit
4aba15eec3
1 changed files with 0 additions and 13 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue