Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
Fixed the crash of the editor when there is no region in the system language
  • Loading branch information
DmitriySalnikov committed Aug 22, 2024
1 parent ca4926a commit 705eac4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/compile_gdextension/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inputs:
description: Secrets token
telemetry_version:
description: Telemetry version
default: 92c1c576739703018a935417cdc7a6ff210b7975
default: 0d1d7b0b889fc1a00b5229cf567a7626c585749d
runs:
using: composite
steps:
Expand Down
4 changes: 3 additions & 1 deletion docs/Export.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Exporting a project

Most likely, when exporting a release version of a game, you don't want to export the debug library along with it. But since there is still no `Conditional Compilation` in `GDScript`, so I decided to create a `dummy` library that has the same API as a regular library, but has minimal impact on performance, even if calls to its methods occur. The `dummy` library is used by default in the release version. However if you need to use debug rendering in the release version, then you can add the `forced_dd3d` feature when exporting. In this case, the release library with all the functionality will be used.
Most likely, when exporting a release version of a game, you don't want to export the debug library along with it. But since there is still no `Conditional Compilation` in `GDScript`, so I decided to create a `dummy` library that has the same API as a regular library, but has minimal impact on performance, even if calls to its methods occur. The `dummy` library is used by default in the release version.

However if you need to use debug rendering in the release version, then you can add the `forced_dd3d` feature when exporting. In this case, the release library with all the functionality will be used.

![](images/export_features.png)

Expand Down

0 comments on commit 705eac4

Please sign in to comment.