Skip to content

CesiumViewer: plot fences reactively to fix browser-timing race#479

Merged
Williangalvani merged 1 commit into
ArduPilot:masterfrom
Williangalvani:colorful_fences
Jun 30, 2026
Merged

CesiumViewer: plot fences reactively to fix browser-timing race#479
Williangalvani merged 1 commit into
ArduPilot:masterfrom
Williangalvani:colorful_fences

Conversation

@Williangalvani

Copy link
Copy Markdown
Collaborator

Fences could fail to render (seen on Firefox) because plotFences ran during setup before state.fences was populated, leaving an empty list. Watch state.fences and re-plot when it changes, make plotFences idempotent by removing prior fence entities, and initialize this.fences.

Fences could fail to render (seen on Firefox) because plotFences ran
during setup before state.fences was populated, leaving an empty list.
Watch state.fences and re-plot when it changes, make plotFences
idempotent by removing prior fence entities, and initialize this.fences.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Williangalvani
Williangalvani merged commit c048ae2 into ArduPilot:master Jun 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant