Update image outline when new image is loaded
This commit is contained in:
parent
bae23b0ee6
commit
8b5a1cc37d
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ func update() -> Array: # returns error messages (strings)
|
|||
image_sprite.texture = ImageTexture.create_from_image(Filesystem.result)
|
||||
if fit_image:
|
||||
camera.fit_image()
|
||||
camera.update_vd_zoomlevel()
|
||||
image_viewport_display.show()
|
||||
# done
|
||||
return errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue