Nicholas Barlow 5 gadi atpakaļ
vecāks
revīzija
148545d65e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Meshes/transformNode.ts

+ 1 - 1
src/Meshes/transformNode.ts

@@ -1177,7 +1177,7 @@ export class TransformNode extends Node {
         this.computeWorldMatrix();
         if (independentOfChildren) {
             let children = this.getChildren();
-            for(let i = 0; i < children.length; ++i){
+            for (let i = 0; i < children.length; ++i) {
                 let child = children[i] as TransformNode;
                 if (child) {
                     child.computeWorldMatrix();