Merge pull request #106089 from mihe/rogue-newlines

Fix empty lines being added for errors with no script backtrace
This commit is contained in:
Thaddeus Crews
2025-05-06 08:38:04 -05:00
12 changed files with 37 additions and 11 deletions

View File

@@ -124,5 +124,11 @@
[b]Warning:[/b] With GDScript backtraces, the returned [Variant] will be the variable's actual value, including any object references. This means that storing the returned [Variant] will prevent any such object from being deallocated, so it's generally recommended not to do so.
</description>
</method>
<method name="is_empty" qualifiers="const">
<return type="bool" />
<description>
Returns [code]true[/code] if the backtrace has no stack frames.
</description>
</method>
</methods>
</class>