|
|
@ -19,6 +19,7 @@ import { CameraUpdate } from './CameraUpdate';
|
|
|
|
import { GripScene } from './GripScene';
|
|
|
|
import { GripScene } from './GripScene';
|
|
|
|
import { OutlinePass } from './OutlinePass';
|
|
|
|
import { OutlinePass } from './OutlinePass';
|
|
|
|
import { PreViewer } from './PreViewer';
|
|
|
|
import { PreViewer } from './PreViewer';
|
|
|
|
|
|
|
|
import { RenderType } from './RenderType';
|
|
|
|
|
|
|
|
|
|
|
|
export enum AAType
|
|
|
|
export enum AAType
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -321,7 +322,7 @@ export class Viewer
|
|
|
|
IsLookSelect = false;
|
|
|
|
IsLookSelect = false;
|
|
|
|
StartRotate()
|
|
|
|
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.OutlinePass.selectedObjects, this.Scene.children] = [this.Scene.children, this.OutlinePass.selectedObjects];
|
|
|
|
this.UsePass = false;
|
|
|
|
this.UsePass = false;
|
|
|
|