Skip to content

Commit

Permalink
Merge pull request #265 from MozillaReality/allow-not-signed-in-spawn…
Browse files Browse the repository at this point in the history
…-object

Scene Debugger: Allow spawning objects when not signed in.
  • Loading branch information
keianhzo authored Jan 15, 2024
2 parents c2d649f + 3f44434 commit b972c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/io_hubs_addon/hubs_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def update_session_state(self):
self._room_params = {k: v for k, v in params.items() if k != "hub_id"}

params = self._web_driver.execute_script(JS_STATE_UPDATE)
self._user_logged_in = params["signedIn"]
self._user_logged_in = params["signedIn"] or "debugLocalScene" not in self._room_params
self._user_in_room = params["entered"]
self._room_name = params["roomName"]

Expand Down

0 comments on commit b972c03

Please sign in to comment.