Skip to content

Commit

Permalink
fix issue where root instanced panels and glyphs are not rendered dep…
Browse files Browse the repository at this point in the history
…ending on the content
  • Loading branch information
bbohlender committed Mar 7, 2025
1 parent 24c673b commit 078ecc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/uikit/src/components/root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export function setupRoot<EM extends ThreeEventMap = ThreeEventMap>(
object.interactableDescendants = state.root.interactableDescendants
setupCursorCleanup(state.hoveredSignal, abortSignal)

const node = setupNode(state, undefined, object, false, abortSignal)
const node = setupNode(state, undefined, object, true, abortSignal)
state.root.requestCalculateLayout = createDeferredRequestLayoutCalculation(state.root, node, abortSignal)

setupObjectTransform(state.root, object, state.globalMatrix, abortSignal)
Expand Down

0 comments on commit 078ecc6

Please sign in to comment.