Skip to content

Commit ea0d75c

Browse files
committed
修复多线程渲染导致的窗口缩放崩溃问题
1 parent 6cb8b13 commit ea0d75c

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

libs/core/core.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class_name RainyBotCore
22

33

4-
const VERSION:String = "V2.0-RC-8"
4+
const VERSION:String = "V2.0-RC-8-Patch-1"
55

66

77
static func start()->void:

libs/core/modules/gif_exporter/converter.gd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func _convert(image: Image, colors: Array) -> PackedByteArray:
4444
RenderingServer.canvas_item_set_material(ci_rid, mat_rid)
4545

4646
RenderingServer.viewport_set_update_mode(vp, RenderingServer.VIEWPORT_UPDATE_ONCE)
47-
RenderingServer.force_draw(false)
4847
image = RenderingServer.texture_2d_get(RenderingServer.viewport_get_texture(vp))
4948

5049
RenderingServer.free_rid(vp)

project.godot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,6 @@ locale/translations=PackedStringArray("res://libs/gui/resources/lang/zh_CN.po")
699699

700700
[rendering]
701701

702-
driver/threads/thread_model=2
703702
2d/snap/snap_2d_transforms_to_pixel=true
704703
2d/snap/snap_2d_vertices_to_pixel=true
705704
batching/options/use_batching=true

0 commit comments

Comments
 (0)