Skip to content

Commit 078ecc6

Browse files
committed
fix issue where root instanced panels and glyphs are not rendered depending on the content
1 parent 24c673b commit 078ecc6

File tree

1 file changed

+1
-1
lines changed
  • packages/uikit/src/components

1 file changed

+1
-1
lines changed

packages/uikit/src/components/root.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export function setupRoot<EM extends ThreeEventMap = ThreeEventMap>(
196196
object.interactableDescendants = state.root.interactableDescendants
197197
setupCursorCleanup(state.hoveredSignal, abortSignal)
198198

199-
const node = setupNode(state, undefined, object, false, abortSignal)
199+
const node = setupNode(state, undefined, object, true, abortSignal)
200200
state.root.requestCalculateLayout = createDeferredRequestLayoutCalculation(state.root, node, abortSignal)
201201

202202
setupObjectTransform(state.root, object, state.globalMatrix, abortSignal)

0 commit comments

Comments
 (0)