File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
.github/composite/godot-install Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,11 @@ runs:
41
41
env :
42
42
ARTIFACT_NAME : ${{ inputs.artifact-name }}
43
43
# if: steps.cache-godot.outputs.cache-hit != 'true'
44
- # If a specific Godot revision should be used, rather than latest, use this:
45
- # curl https://nightly.link/Bromeon/godot4-nightly/actions/runs/4910907653/$ARTIFACT_NAME.zip \
46
44
run : |
47
45
if [[ $ARTIFACT_NAME == *"nightly"* ]]; then
48
46
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-nightly/master/$ARTIFACT_NAME.zip"
49
- # FIXME: re-enable latest as soon as https://github.com/godotengine/godot/issues/105834 is resolved.
50
- url="https://nightly.link/Bromeon/godot4-nightly/actions/runs/14632778165 /$ARTIFACT_NAME.zip"
47
+ # If a specific Godot revision should be used, rather than latest, use this:
48
+ # url="https://nightly.link/Bromeon/godot4-nightly/actions/runs/<WORKFLOW_RUN_ID> /$ARTIFACT_NAME.zip"
51
49
else
52
50
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-stable/master/$ARTIFACT_NAME.zip"
53
51
fi
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ pub unsafe extern "C" fn default_get_virtual<T: UserClass>(
188
188
189
189
pub unsafe extern "C" fn to_string < T : cap:: GodotToString > (
190
190
instance : sys:: GDExtensionClassInstancePtr ,
191
- _is_valid : * mut sys:: GDExtensionBool ,
191
+ is_valid : * mut sys:: GDExtensionBool ,
192
192
out_string : sys:: GDExtensionStringPtr ,
193
193
) {
194
194
// Note: to_string currently always succeeds, as it is only provided for classes that have a working implementation.
@@ -200,6 +200,7 @@ pub unsafe extern "C" fn to_string<T: cap::GodotToString>(
200
200
201
201
// Transfer ownership to Godot
202
202
string. move_into_string_ptr ( out_string) ;
203
+ * is_valid = sys:: conv:: SYS_TRUE ;
203
204
}
204
205
205
206
#[ cfg( before_api = "4.2" ) ]
You can’t perform that action at this time.
0 commit comments