Browse Source

Merge pull request #15781 from skymakerolof/patch-1

Fix Object3D.updateMatrixWorld definition
Mr.doob 6 years ago
parent
commit
9e49e886d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/Object3D.d.ts

+ 1 - 1
src/core/Object3D.d.ts

@@ -306,7 +306,7 @@ export class Object3D extends EventDispatcher {
   /**
    * Updates global transform of the object and its children.
    */
-  updateMatrixWorld(force: boolean): void;
+  updateMatrixWorld(force?: boolean): void;
 
   updateWorldMatrix(updateParents: boolean, updateChildren: boolean): void;