Browse Source

Merge pull request #6768 from Mickeon/patch-2

Fix `rotation_degrees` note in "Upgrading to Godot 4"
Max Hilbrunner 2 years ago
parent
commit
6c80dbdf98
1 changed files with 4 additions and 4 deletions
  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>`.