Julien Barrois 7 years ago
parent
commit
343986245f
1 changed files with 2 additions and 1 deletions
  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 {