Skip to content

Commit

Permalink
More bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RodZill4 committed Apr 10, 2022
1 parent 519c065 commit 7f3b8f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ func new_environment(index : int) -> void:

func delete_environment(index : int) -> void:
environments.remove(index)
environment_textures.remove(index)

var thumbnail_update_list = []
var rendering = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func _on_Share_pressed():
var preview_texture : ImageTexture = ImageTexture.new()
preview_texture.create_from_image(image)
var env = environment_manager.get_environment(current_environment).duplicate()
env.remove("thumbnail")
env.erase("thumbnail")
share_button.send_asset("environment", env, preview_texture)


Expand Down

0 comments on commit 7f3b8f0

Please sign in to comment.