From c379b5a327a8a9a36add4f6642e85ce41a6bb6b9 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 10 Jun 2019 12:25:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADScene=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/GraphicsSystem/Viewer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GraphicsSystem/Viewer.ts b/src/GraphicsSystem/Viewer.ts index 1f9890882..e2986ef27 100644 --- a/src/GraphicsSystem/Viewer.ts +++ b/src/GraphicsSystem/Viewer.ts @@ -55,6 +55,8 @@ export class Viewer //构造 constructor(canvasContainer: HTMLElement) { + this.m_Scene.autoUpdate = false; + this.m_DomEl = canvasContainer; this.m_DomEl.oncontextmenu = () => false;//禁止用户选中画布. TODO: 加入右键工具栏.