更新godot ai 到最新版本

This commit is contained in:
2026-09-22 16:07:50 +08:00
parent 9dc02dbb31
commit 020ab88606
46 changed files with 5816 additions and 400 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ func _capture_and_reply(
_reply_error(request_id, "Captured an empty image from game viewport")
return
var encoded: Dictionary = ScreenshotEncode.downscale_and_encode(image, max_resolution)
var encoded: Dictionary = ScreenshotEncode.downscale_and_encode(image, max_resolution, viewport.use_hdr_2d)
var frames_drawn := Engine.get_frames_drawn()
var stale := frames_drawn <= frames_at_request