Skip to content

Commit 9fb1896

Browse files
committed
Work around bug in Godot 4.4
1 parent 8c3aa85 commit 9fb1896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rendering/mesh_texture_rd/mesh_texture_rd.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ func update(force: bool = false) -> void:
163163
_reset_vertex()
164164
mesh_dirty = false
165165

166+
_reset_uniform() # Work around bug in Godot 4.4, we have to reset uniform before drawing (Fixed in 4.5)
166167
_draw_list()
167168
emit_changed()
168169
_update_queued = false

0 commit comments

Comments
 (0)