Merge pull request #109331 from ryevdokimov/deprecate-get-scene

Deprecate `get_scene()` in `EditorScript` class
This commit is contained in:
Thaddeus Crews
2025-11-13 20:52:21 -06:00
3 changed files with 11 additions and 1 deletions

View File

@ -53,7 +53,7 @@
Returns the [EditorInterface] singleton instance.
</description>
</method>
<method name="get_scene" qualifiers="const">
<method name="get_scene" qualifiers="const" deprecated="Use [method EditorInterface.get_edited_scene_root] instead.">
<return type="Node" />
<description>
Returns the edited (current) scene's root [Node]. Equivalent of [method EditorInterface.get_edited_scene_root].