Skip to content

Commit

Permalink
Fixed _another_ bug introduced in Godot 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SIsilicon authored Aug 9, 2020
1 parent c34074a commit 951883b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func add_light(key, type : int, data := {}) -> void:

if light_data.shadows:
shadow_manager.add_shadow(key, light_data)
var shadow_coords : Rect2 = shadow_manager.get_shadow_data(key).coords
var shadow_coords : Rect2 = shadow_manager.get_shadow_data(key).shadow_coords
var shadow_matrix : Matrix4 = shadow_manager.get_shadow_data(key).shadow_matrix
pass_light_data(14, light_data.index, shadow_matrix.get_data())
pass_light_data(30, light_data.index, shadow_coords)
Expand Down

0 comments on commit 951883b

Please sign in to comment.