Repository navigation
Draw the live 3D room once per animation frame - #291
Merged
Merged
Conversation
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 29, 2026
Draw the live 3D room once per animation frame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The dollhouse wheel handler could draw twice for one event. OrbitControls emitted a change during the camera update, then the handler drew the view again. Both paths ran the composer and placed the room labels.
Camera input now updates immediately and requests one draw at the next animation frame. Joint motion advances before that draw and requests another frame until it reaches its final pose. The room also redraws when it resizes, the scene or selection changes, the eye camera moves, or the lighting bake finishes. The last drawn room retains its materials until its replacement has rendered.
In headless Edge with the sample layout at 480 × 320, five wheel events dispatched together produced ten composer draws on master and one on this branch. All ten baseline draws occurred inside the input handlers. The single draw on this branch occurred after they returned.
Regression coverage exercises the production wheel handler, idle state, bake completion, superseded rooms, teardown, and the intermediate and final poses of animated joints.