Skip to content

Commit 0540070

Browse files
committed
🐛 Fix item display outline appearing when not selected
1 parent ee617e7 commit 0540070

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/outliner/vanillaItemDisplay.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ export const PREVIEW_CONTROLLER = new NodePreviewController(VanillaItemDisplay,
213213
mesh.add(result.mesh)
214214
mesh.add(result.outline)
215215
mesh.outline = result.outline
216+
mesh.outline.visible = el.selected
216217

217218
el.preview_controller.updateHighlight(el)
218219
el.preview_controller.updateTransform(el)

0 commit comments

Comments
 (0)