Browse Source

Fix calling non-standard api in TransformControls2

master
Palash Bansal 1 year ago
parent
commit
44e58a0942
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/three/controls/TransformControls2.ts

+ 1
- 1
src/three/controls/TransformControls2.ts View File

this.size = 2 this.size = 2


this.addEventListener('objectChange', () => { this.addEventListener('objectChange', () => {
this?.object?.setDirty({frameFade: false})
this?.object?.setDirty && this.object.setDirty({frameFade: false})
// todo: do this.setDirty? // todo: do this.setDirty?
}) })
this.addEventListener('change', () => { this.addEventListener('change', () => {

Loading…
Cancel
Save