mirror of
https://github.com/CrispyPin/ovr-utils.git
synced 2024-11-10 02:40:25 +01:00
fix overlays not spawning in with tracking
This commit is contained in:
parent
670df66b38
commit
cf2b82b5fb
2 changed files with 3 additions and 1 deletions
|
@ -80,6 +80,7 @@ func load_settings():
|
||||||
update_offset()
|
update_offset()
|
||||||
if loaded.has("visible"):
|
if loaded.has("visible"):
|
||||||
set_overlay_visible(loaded.visible)
|
set_overlay_visible(loaded.visible)
|
||||||
|
else:
|
||||||
save_settings()
|
save_settings()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ func add_overlay(type, name):
|
||||||
instance.overlay_scene = scene
|
instance.overlay_scene = scene
|
||||||
instance.type = type
|
instance.type = type
|
||||||
add_child(instance)
|
add_child(instance)
|
||||||
|
instance.update_offset()
|
||||||
emit_signal("added_overlay", name)
|
emit_signal("added_overlay", name)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue