Julien Barrois 7 năm trước cách đây
mục cha
commit
343986245f
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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 {