Julien Barrois 7 vuotta sitten
vanhempi
commit
343986245f
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/Mesh/babylon.geometry.ts

+ 2 - 1
src/Mesh/babylon.geometry.ts

@@ -62,8 +62,9 @@
          */
         public set boundingBias(value: Vector2) {
             if (this._boundingBias) {
-                if (this._boundingBias.equals(value))
+                if (this._boundingBias.equals(value)) {
                     return;
+                }
                 this._boundingBias.copyFrom(value);
             }
             else {