Merge pull request #46763 from Calinou/interepolatedcamera-remove-deprecation-warning

Remove deprecation warning messages from InterpolatedCamera
This commit is contained in:
Rémi Verschelde 2021-03-07 16:39:40 +01:00 committed by GitHub
commit eca079c198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 9 deletions

View file

@ -37,8 +37,6 @@ void InterpolatedCamera::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
WARN_DEPRECATED_MSG("InterpolatedCamera has been deprecated and will be removed in Godot 4.0.");
if (Engine::get_singleton()->is_editor_hint() && enabled)
set_process_internal(false);
@ -133,11 +131,6 @@ real_t InterpolatedCamera::get_speed() const {
return speed;
}
String InterpolatedCamera::get_configuration_warning() const {
return TTR("InterpolatedCamera has been deprecated and will be removed in Godot 4.0.");
}
void InterpolatedCamera::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_target_path", "target_path"), &InterpolatedCamera::set_target_path);

View file

@ -57,8 +57,6 @@ public:
void set_interpolation_enabled(bool p_enable);
bool is_interpolation_enabled() const;
String get_configuration_warning() const;
InterpolatedCamera();
};