From a5005de98b948d5586b237dd30bbba979c68ea8d Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 2 Dec 2019 10:52:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E7=9C=9F=E5=AE=9E=E8=A7=86?= =?UTF-8?q?=E8=A7=89=E6=A0=B7=E5=BC=8F=E4=B8=8B=E7=9A=84=E6=97=8B=E8=BD=AC?= =?UTF-8?q?=E7=9B=B8=E6=9C=BA=E9=9A=90=E8=97=8F=E5=9B=BE=E5=85=83=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/GraphicsSystem/Viewer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GraphicsSystem/Viewer.ts b/src/GraphicsSystem/Viewer.ts index 765d7b805..bce31e6ff 100644 --- a/src/GraphicsSystem/Viewer.ts +++ b/src/GraphicsSystem/Viewer.ts @@ -19,6 +19,7 @@ import { CameraUpdate } from './CameraUpdate'; import { GripScene } from './GripScene'; import { OutlinePass } from './OutlinePass'; import { PreViewer } from './PreViewer'; +import { RenderType } from './RenderType'; export enum AAType { @@ -321,7 +322,7 @@ export class Viewer IsLookSelect = false; StartRotate() { - if (this.OutlinePass.selectedObjects.length > 0) + if (this.OutlinePass.selectedObjects.length > 0 && userConfig.RenderType !== RenderType.Physical) { [this.OutlinePass.selectedObjects, this.Scene.children] = [this.Scene.children, this.OutlinePass.selectedObjects]; this.UsePass = false;