-
Notifications
You must be signed in to change notification settings - Fork 536
Labels
🕸️ webregarding running the viewer in a browserregarding running the viewer in a browser🟦 blueprintThe data that defines our UIThe data that defines our UI🪳 bugSomething isn't workingSomething isn't working
Description
Blueprints sent via send_blueprint
arrive just fine but they're not made active, even when
Short repro:
import rerun as rr
import rerun.blueprint as rrb
import numpy as np
blueprint = rrb.Blueprint(rrb.Spatial2DView(origin=f"image", name="test name"))
rr.init("image_viewer")
rr.serve_web(
open_browser=True,
web_port=9072,
ws_port=9073,
)
rr.send_blueprint(blueprint)
image = np.random.randint(0, 256, (96, 96, 3))
rr.log("image", rr.Image(image))
input("Press Enter to exit...")
The viewer evidently received the blueprint and made it the default (send_column
by makes the blueprint the default and makes it active) but it doesn't switch to this blueprint unless prompted to do so from the ui.
This does not happen when spawning the native viewer (spawn=True
on init).
Curiously, when using rr.init("image_viewer", default_blueprint=blueprint)
, the blueprint is set as default and visible!
See also https://discord.com/channels/1062300748202921994/1330599362774171768/1330599362774171768
mont1004
Metadata
Metadata
Assignees
Labels
🕸️ webregarding running the viewer in a browserregarding running the viewer in a browser🟦 blueprintThe data that defines our UIThe data that defines our UI🪳 bugSomething isn't workingSomething isn't working