From b1ab8ded43ed8fda7fd93dd03f0579be0c816fd0 Mon Sep 17 00:00:00 2001 From: luoyifan Date: Tue, 1 Jul 2025 15:01:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=9E=E6=80=A7=E9=9D=A2=E6=9D=BF=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=BD=93=E5=89=8D=E6=89=80=E9=80=89=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/propEditors/IMetaProp.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/editor/propEditors/IMetaProp.ts b/src/editor/propEditors/IMetaProp.ts index 9f66fc3..d34233c 100644 --- a/src/editor/propEditors/IMetaProp.ts +++ b/src/editor/propEditors/IMetaProp.ts @@ -28,6 +28,9 @@ export default defineComponent({ computed: { object3D(): THREE.Object3D { return this.viewport.state.selectedObject + }, + item(): ItemJson { + return this.viewport.state.selectedItem } } -}) \ No newline at end of file +})