Skip to content

Commit 6c80dbd

Browse files
authored
Merge pull request #6768 from Mickeon/patch-2
Fix `rotation_degrees` note in "Upgrading to Godot 4"
2 parents f09e426 + cf9af0a commit 6c80dbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/migrating/upgrading_to_godot_4.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,9 @@ The most notable examples of this are:
564564
before, replace ``call_group(...)`` with
565565
``call_group_flags(SceneTree.GROUP_CALL_DEFERRED, ...)`` (and do the same with
566566
``set_group()`` and ``notify_group()`` respectively).
567-
- The ``rotation_degrees`` property was removed in favor of ``rotation`` property,
568-
which is still in radians but is automatically displayed as degrees in the
569-
editor. This breaks animations, as these are not converted automatically by the
567+
- Instead of ``rotation_degrees``, the ``rotation`` property is exposed to the
568+
editor, which is automatically displayed as degrees in the Inspector
569+
dock. This may break animations, as the conversion is not handled automatically by the
570570
conversion tool.
571571
- :ref:`class_AABB`'s ``has_no_surface()`` was inverted and renamed to ``has_surface()``.
572572
- :ref:`class_AABB` and :ref:`class_Rect2`'s ``has_no_area()`` was inverted and
@@ -694,7 +694,7 @@ ArrayMesh resource again.
694694
List of automatically renamed methods, properties, signals and constants
695695
------------------------------------------------------------------------
696696

697-
The `editor/project_converter_3_to_4.cpp <https://github.com/godotengine/godot/blob/master/editor/project_converter_3_to_4.cpp>`__
697+
The `editor/renames_map_3_to_4.cpp <https://github.com/godotengine/godot/blob/master/editor/renames_map_3_to_4.cpp>`__
698698
source file lists all automatic renames performed by the project upgrade tool.
699699
Lines that are commented out refer to API renames that :ref:`cannot be performed automatically <doc_upgrading_to_godot_4_manual_rename>`.
700700

0 commit comments

Comments
 (0)