瀏覽代碼

Remove deprecation warning messages from InterpolatedCamera

Since Godot 4.0's relea	se is still a while away, warning users
every time the project starts might be a bit too dramatic.
Hugo Locurcio 4 年之前
父節點
當前提交
ac6251d8b2
共有 2 個文件被更改,包括 0 次插入9 次删除
  1. 0 7
      scene/3d/interpolated_camera.cpp
  2. 0 2
      scene/3d/interpolated_camera.h

+ 0 - 7
scene/3d/interpolated_camera.cpp

@@ -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);

+ 0 - 2
scene/3d/interpolated_camera.h

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