ソースを参照

Fix interaction prompt

master
Palash Bansal 1年前
コミット
8239de5553
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      src/core/object/iCameraCommons.ts

+ 2
- 1
src/core/object/iCameraCommons.ts ファイルの表示

export const iCameraCommons = { export const iCameraCommons = {
setDirty: function(this: ICamera, options?: ICameraSetDirtyOptions): void { setDirty: function(this: ICamera, options?: ICameraSetDirtyOptions): void {
// console.log('target', target, this._controls, this._camera) // console.log('target', target, this._controls, this._camera)
if (this.controls && this.controls.target && this.target !== this.controls.target) {
// noinspection PointlessBooleanExpressionJS
if (this.controls && this.controls.target && this.controls.enabled !== false && this.target !== this.controls.target) {
this.controls.target.copy(this.target) this.controls.target.copy(this.target)
// this.controls.update() // this should be done automatically postFrame // this.controls.update() // this should be done automatically postFrame
} }

読み込み中…
キャンセル
保存