瀏覽代碼

Fix `rotation_degrees` note in "Upgrading to Godot 4"

Micky 2 年之前
父節點
當前提交
cf9af0aeb3
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      tutorials/migrating/upgrading_to_godot_4.rst

+ 4 - 4
tutorials/migrating/upgrading_to_godot_4.rst

@@ -564,9 +564,9 @@ The most notable examples of this are:
   before, replace ``call_group(...)`` with
   before, replace ``call_group(...)`` with
   ``call_group_flags(SceneTree.GROUP_CALL_DEFERRED, ...)`` (and do the same with
   ``call_group_flags(SceneTree.GROUP_CALL_DEFERRED, ...)`` (and do the same with
   ``set_group()`` and ``notify_group()`` respectively).
   ``set_group()`` and ``notify_group()`` respectively).
-- The ``rotation_degrees`` property was removed in favor of ``rotation`` property,
-  which is still in radians but is automatically displayed as degrees in the
-  editor. This breaks animations, as these are not converted automatically by the
+- Instead of ``rotation_degrees``, the ``rotation`` property is exposed to the 
+  editor, which is automatically displayed as degrees in the Inspector 
+  dock. This may break animations, as the conversion is not handled automatically by the
   conversion tool.
   conversion tool.
 - :ref:`class_AABB`'s ``has_no_surface()`` was inverted and renamed to ``has_surface()``.
 - :ref:`class_AABB`'s ``has_no_surface()`` was inverted and renamed to ``has_surface()``.
 - :ref:`class_AABB` and :ref:`class_Rect2`'s ``has_no_area()`` was inverted and
 - :ref:`class_AABB` and :ref:`class_Rect2`'s ``has_no_area()`` was inverted and
@@ -694,7 +694,7 @@ ArrayMesh resource again.
 List of automatically renamed methods, properties, signals and constants
 List of automatically renamed methods, properties, signals and constants
 ------------------------------------------------------------------------
 ------------------------------------------------------------------------
 
 
-The `editor/project_converter_3_to_4.cpp <https://github.com/godotengine/godot/blob/master/editor/project_converter_3_to_4.cpp>`__
+The `editor/renames_map_3_to_4.cpp <https://github.com/godotengine/godot/blob/master/editor/renames_map_3_to_4.cpp>`__
 source file lists all automatic renames performed by the project upgrade tool.
 source file lists all automatic renames performed by the project upgrade tool.
 Lines that are commented out refer to API renames that :ref:`cannot be performed automatically <doc_upgrading_to_godot_4_manual_rename>`.
 Lines that are commented out refer to API renames that :ref:`cannot be performed automatically <doc_upgrading_to_godot_4_manual_rename>`.